Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE and MS-Word95
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00020239
Message ID:
00020955
Vues:
40
>I'm not yet sure what to do to wait until the user has completed interaction, but this should work. There is probably a more correct way, and if anyone else has any input on this I'd appreciate it...
>
>Thanks and good luck John

Rob,

This works great for my needs:

oWord = CREATEOBJ("Word.Basic")
oWord.FileOpen(mdoc)
oWord.AppMaximize()
wait ""
release oWord

The wait"" is kind of lame, but without it, the prg continues and closes Word (release oWord) without letting me edit my doc. I'll probably replace the wait "" with a wait window or a =messagebox() thing but basically I got it. Thanx!

John Morga
John Morga
Sr. Manager Information Systems
Applications Development Group
Systems Engineer
Telephonics Corporation
http://www.telephonics.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform