Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add a Word olecontrol and load with a f
Message
From
23/04/1998 17:58:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/04/1998 17:28:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094373
Message ID:
00094512
Views:
26
>>:-)
>>
>>I'm looking at GETOBJECT now--before I look at GETCAREERCOUNSELOR( 'Nancy', "McDonald's" )!
>Nancy,
>That way it's extremely hard (if ever possible). Instead a dummy cursor with a gen field might be easy to implement (but speed ?). Advantage would be users will not be limited to having word but any host that supports DOC type.
>Cetin
Addition :
cDoc = "c:\temp\oursample.doc"
IF .NOT. EMPTY( cDoc ) .AND. FILE ( cDoc )
  create cursor dummy (WordDoc g)
  append blank
  append general WordDoc from (cDoc) link
  thisform.addobject('oOLEobj','oleBoundControl' )
  with thisform.oOLEobj
    .left = 1
    .Top = 1
    .height = thisform.height - 2
    .width = thisform.Width - 2
    .controlsource="dummy.worddoc"
    .Visible = .t.
  endwith	
ENDIF
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform