Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching Word or WP from VFP
Message
From
23/04/1999 13:50:41
 
 
To
23/04/1999 13:48:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00211600
Message ID:
00211625
Views:
31
Whoops. Typo. Thanks, Cetin..you are correct Documents not Document.

>>
>>Try this (might need some small changes) (for Word97)
>>
>>oWord=CREATEOBJECT("Word.Application")
>>oWord.Document.Open("Filename",,.T.)
>>
>>The third parameter is ReadOnly. Now VB help shows it as a variant so .T. may not work....
>>
>>
>AFAIK .t. and 1 works :) Just I think it would be "oWord.Documents.Open" not sure.
>Cetin
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform