Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read-only Word
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00357809
Message ID:
00358415
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform