Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for COM server
Message
De
11/06/1999 10:36:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Test for COM server
Divers
Thread ID:
00228773
Message ID:
00228773
Vues:
48
Hello,

If I create a Word application server, like
owordobj = createobject("word.application")
owordobj.visible = .t.
owordobj.activate
and then go to Word and close it, any future calls with owordobj returns the RPC server is unavailable error. Is there a way to test in VFP code whether the server or other COM object to which I have a reference is still instantiated?

Thanks,

Rod Poujade
Montreal, Canada
Rod Poujade
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform