Posted by [IP Address: 202.134.97.254] 'ivan' on September 10, 2001 at 21:03:32 EST:
In Reply to: Re: Problem calling by VB posted by [IP Address: 202.134.97.254] 'Andrew McCarter' on September 10, 2001 at 16:54:55 EST:
: : Hi
: : When I tried to call a vb program. It shows the following errors
: : "activex component can't create object"
: : It occurs in command "set sap = creatObject("sapautogui.event")
: : Please help! Thanks!
: The problem lies with the fact that the object you wish to create has not been registered on your machine, or the machine which is trying to create an instance of it. You need to register the object using regsvr32 before you can obtain a reference to it.
: (BTW, I'm assuming the error in your code was just a typo - CreateObject())
: Regards,
: Andrew
Thanks Andrew,
I already tried to regsrv32 to register the ocx file again but it still doen't work. (itole.ocx) Do I need to register another file?