Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE automation with Word
Message
 
To
09/06/1998 02:59:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00106095
Message ID:
00106530
Views:
26
>>I need to open a document in readonly. How should I modify the following code (wich is opening in edit mode).
>>
>>There must be a parameter to the Open Method but I don't know where to find it. VBA doesn't call this method the same way we do in VFP.
>>
>>goWordDoc = CreateObject( "Word.Application" )
>>goWordDoc.Documents.Open( "Data\Doc_Fr.doc" )
>>
>>TIA
>
>goWordDoc.Documents.Open( "Data\Doc_Fr.doc" , ,.T.)
>
>This opens document in readonly mode.
---
Thank you. I assume the parameters are in the same order as VBA? ReadOnly is the 3rd one.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform