Information générale
Titre:
Accessing MSWord from VFP
Hi,
Thanks to all that have tried to help me along, but I still have a problem: (VFP5/Win98/Word97)
I write a small program, creating the Word application object,
then
oWord.Documents.Open("MYFILE.DOC")
oWord.Visible = .T.
oWord.Application.Activate
which lets me see Word with the document in a brief flash, then
it is gone. If I insert a wait window command after activating Word,
I can access end edit the document, then close it, and hit any key to remove the wait message and continue with the program. But it should not be necessary to to it that way? I haven't found out how to maximize Word either. VBA, as far as I can see, doesn't give any clue to the command for this except in a Word macro.
Rolf
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement