Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check to see if object exist
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00827566
Message ID:
00827569
Vues:
14
>Hi Everyone,
>
>I'm try to check and see if a program is running on another computer use a object check. However, I get an Ole error saying the "Invalid class" during load method when assigning the object. Here how Im trying to check for it:
>
> Objtest= CREATEOBJECT("MYPRG.Tntest", "Machine2")
>
>Im looking to see if the procedure call "TnTest" for application "Myprg" is running or not on "Machine2"(computer name).
>
>Next I test to see if "Objtest" is an object or not. Here's where I get the error.
>
>Thanks in advance for any insight as to what I'm doing wrong.
>
Craig,

I believe that only NEWOBJECT() allows you to pass the name of a prg as a parameter. With CREATEOBJECT() you need to use SET PROCEDURE TO...
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform