Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Save in Word?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01198988
Message ID:
01205166
Views:
21
Try this.
o=CREATEOBJECT("word.application")
odoc = o.Documents.Add
o.CommandBars.Item("File").Controls.Item("Save As...").Enabled =.f.
o.CommandBars.Item("File").Controls.Item("Save").Enabled =.f. 
o.CommandBars.Item("File").Controls.Item("Print...").Enabled =.f. 
o.Visible =.t.
>Hmm... just lost a reply here somewhere.
Sorry if this is a duplicate.
I can't really make the document read-only because the whole purpose in giving the user access to Word is to allow them to customize the document.
I would like to remove access to Save and Save As though...
Haven't figured out how to do that.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform