Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Document Options
Message
From
25/01/2000 16:09:28
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00322387
Message ID:
00322416
Views:
17
Thank you Nick.

>>Hi Cetin,
>>I wonder if you could help me. I've been doing quite a bit with Word and oword.documents.open(theDoc+'.doc') works fine for me. I wanted to add readonly to this, but I'm not sure how. I tried doing this: oword.documents.open filename:=theDoc+'.doc', readonly:=True but it doesn't like it. I also stored the value of theDoc+'.doc' to theDoc and tried ...filename:=&theDoc, readonly:=True but it doesn't like that either. I really need to be able to open a file as REadOnly and also, in another instance, have a password. I'd really appreciate hearing from you.
>
>oword.documents.Open("c:\mydoc.doc", .t., .t.)
>ReadOnly is 3-rd parameter (the second parameter is ConfirmConversions)
>
>Nick
"Live Well, Laugh Often, Love Much..."
Previous
Reply
Map
View

Click here to load this message in the networking platform