Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word detection
Message
De
11/12/2003 03:36:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/12/2003 19:41:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00857928
Message ID:
00857998
Vues:
25
>Hello:
>
>I am in the middle of a project and I call a MSWord document through the VFP using the way of Automation command. The problem is I need to know when a document remain opened while I execute other commands. Is there a way to know when a document is opened. I open many document but so I can't just close the application (Word Application).
>
>Thanks
>
>Efrain

Efrain,
If you're using VFP7 and later you might create an eventhandler that'd notify you when word closes (or other events).
If you don't really need to know when it closess do nothing. oWord object would go out of scope as your routine ends but word itself would be available to user.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform