>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