Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-14-2004, 11:23 AM
narsinha narsinha is online now
Registered User
 
Join Date: 08-21-2003
Posts: 7
Angry activex component can't create object

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?
Reply With Quote
  #2  
Old 04-14-2004, 01:14 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
It sounds like your custom action is trying to instantiate a COM component that is not registered.
Reply With Quote
  #3  
Old 04-14-2004, 01:55 PM
narsinha narsinha is online now
Registered User
 
Join Date: 08-21-2003
Posts: 7
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.
Reply With Quote
  #4  
Old 04-14-2004, 02:06 PM
narsinha narsinha is online now
Registered User
 
Join Date: 08-21-2003
Posts: 7
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:13 AM.


Copyright © 1999-2023 Kinook Software, Inc.