Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make Word visible
Message
De
02/10/2011 13:46:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Make Word visible
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows 7
Divers
Thread ID:
01525400
Message ID:
01525400
Vues:
80
Hi All:

I have code that opens a word file. But how do I make the Word window the active and visible one?

The following code does not do that:
loWord.documents.open(MyFile)
loWord.visible = .t.   &&Word now appears in the taskbar
loWord.activate()   &&the word icon in the taskbar flashes but VFP is still the active window
Thanks,

Yossi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform