Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for COM server
Message
 
À
11/06/1999 10:36:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00228773
Message ID:
00228796
Vues:
15
Can you trap this error with your regular error handler?

Joe

>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
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform