Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching MS Word with a document from a command button
Message
From
26/04/1997 21:37:58
 
 
To
26/04/1997 21:24:23
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00029586
Message ID:
00029807
Views:
33
>>>>>How would one go about launching MS Word with a document by clicking on a command button in FPW 2.6?
>>>>
>>>>RUN /N7 WORD.EXE
>>>
>>>I would favor using OLE automation as you have much more control over Word if you create it as an object.
>>
>>Could you elaborate on how to do this? Many thanks!
>>
>>Bryan
>Sure ....
>oWorddoc=CreateObj('word.application')
>oWorddoc.documents.open('mydoc.doc')
>oWorddoc.visible

Is this FPW 2.6? :))

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform