Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Word .doc ReadOnly
Message
From
23/07/2003 11:55:28
 
 
To
23/07/2003 11:33:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00812796
Message ID:
00812806
Views:
16
>Row to Open a MS Word document read-only from VFP.Thanks.

Carlos,
The third parameter on the open should be set to .t.

You will be able to change the doc, but not save it
DocumentPath = '\tmp\test.doc'

obj = CreateObject('Word.Application')

=obj.Documents.Open(DocumentPath, , .T.)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform