Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automaing Word with Read Only Status
Message
 
To
06/01/2003 15:25:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00738526
Message ID:
00738528
Views:
25
This message has been marked as the solution to the initial question of the thread.
Something like this:
oWord = CREATEOBJECT("Word.Application")
oWord.documents.open("c:\hi.doc",.f.,.T.)&&read only
....
Many details you can see in the book "Microsoft Office Automation with Visual FoxPro" written by Tamar E. Granor and Della Martin. Also you may record a macro in the Word and then translate the VBA code to VFP.

Also you can find help in files like VBAWRD8.HLP.

>How can I use ole automation to open a word document and have it read only. I'd like for my application to determine whether or not a user has write privliges.
>
>Some users will have write priviliges while others read only.
>
>are there any good books or articles outlining ole automation?
>
>Where can I find a list of properties etc... of an ole object?
>
>Thanks, steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform