Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Word Doc Properties to Read-Only via OLE Automat
Message
 
To
12/02/2002 12:50:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00618945
Message ID:
00618982
Views:
8
Something like this:
with objWord.ActiveDocument
.ReadOnlyRecommended = .t.
.SaveAs("C:\HI.doc",,,,, "YYY")
endwith

User will be able to open it as read-only (without password). But he/she will be able to modify it and save with another filename.


>I am creating a Microsoft Word Document via OLE Automation in my program. I want to make the Document Read-Only after it has been created and saved to the users hard drive. Can this be done via automation?
>
>THanks
>>> Wes
Previous
Reply
Map
View

Click here to load this message in the networking platform