Hi Tom,
I don't know much about oleing, but maybe you should check whether the file has it's read-only attribute set or if word itself protected it as a read only doc.
Alex
>I have an app that picks a doc and opens it for editing... Only I can't edit the doc. It seems to be in read-only mode. Here's what I do...
>
>oword=create('word.application')
>oword.documents.open(edit_doc)
>Application.top = 1
>Application.left = 1
>Application.width = 1150
>Application.height = 875
>oword.top = 1
>oword.left = 1
>oword.width = 1150
>oword.height = 875
>oword.visible= .t.
>
>
>Any ideas?
>
>Thanks
>Tom Welch
Low-carb diet not working? Try the Low-food diet instead!