>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!
Imagination is more important than knowledge