PDA

View Full Version : activex component can't create object


narsinha
04-14-2004, 11:23 AM
My build script had been working fine until recently.

The relevant steps from my build are as follows

register dll
register action
execute action
unregister action
unregister dll


Today I started receiving errors when executing the action.(step 3). Registering of the dll and action completed successfully.

The popup dialog box says

Run-time error '429':

activex component can't create object


Any idea on what is going on?

kinook
04-14-2004, 01:14 PM
It sounds like your custom action is trying to instantiate a COM component that is not registered.

narsinha
04-14-2004, 01:55 PM
I have determined that the line "frm.show vbmodal" in my VB code is the problem

The code is as follows:

dim frm as new frm_xyz

frm.show vbmodal


This has worked for several months. It only started complaing today. I have been making modifications to this dll.

narsinha
04-14-2004, 02:06 PM
I need to clarify.

The first time I execute the build script and it tries to execute the action I get the following message:

Run-time error '5':

Invalid Procedure call or argument

I have determined that the call in my dll to "frm.show vbmodal" is the root cause.

I have followed the code in the sample vb6action provided with the product.

I get the previously stated error message when I try to rebuild the step that executes the action.