General information
Category:
Coding, syntax & commands
Glad it helped.
>>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
>
>And thank you Yuri!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only