Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read-only Word
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00357809
Message ID:
00358415
Views:
10
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
Map
View

Click here to load this message in the networking platform