Re: Problem calling by VB


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 208.247.54.21] 'Andrew McCarter' on September 10, 2001 at 16:54:55 EST:

In Reply to: Problem calling by VB posted by [IP Address: 208.247.54.21] 'ivan' on September 10, 2001 at 06:43:02 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


Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]