Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing MSWord from VFP
Message
De
24/02/2000 10:18:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Accessing MSWord from VFP
Divers
Thread ID:
00336743
Message ID:
00336743
Vues:
80
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
Fil
Voir

Click here to load this message in the networking platform