General information
Category:
COM/DCOM and OLE Automation
Hi, Tom.
Just as a reality-check, I copied and pasted your code into a blank program file, set "edit_doc" to the name of whatever file I wanted, and ran the program. Word opened and displayed the file, and I had full access. In addition, I alredy had an instance of Word running.
Therefore, it would appear to be something with your configuration. Have you tried creating an EXE and running it on another PC?
Michael Reynolds
>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
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