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 05-14-2003, 04:04 AM
DevBoy DevBoy is online now
Registered User
 
Join Date: 05-08-2003
Posts: 2
Custom Action: Invalid class string

Hi

I've written a VB6 COM DLL (Prompt.dll) which enables the user to confirm/alter macro values before proceeding with the build.

When I attempt to launch my component I get the following message: "Error creating custom action 'Prompt': Invalid class string"

I would be grateful for any assistance,

Many thanks.


===========================


My steps are as follows:

1) Register the COM DLL
2) Register the .action file for the DLL
3) Launch the DLL
4) Unregister the .action file
5) Unregister the COM DLL

My COM component is called Prompt.dll It has one Form and one class object called Class1.

My Prompt.action file looks as follows:

<?xml version='1.0'?>
<action Name="Prompt">
<GUI Category="Test" Description="My Prompt GUI"></GUI>

<Build>
<ActionComponent>Prompt.Class1</ActionComponent>-->
</Build>
</action>
Reply With Quote
  #2  
Old 05-14-2003, 08:25 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The error would seem to indicate that VisBuildPro is reading the action information but that the component is not properly registered (i.e., 'Prompt.Class1' is not found under HKEY_CLASSES_ROOT). Zip up your VB6 DLL, .action file, and .bld file, send to support@kinook.com and we'll take a look.
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 01:53 AM.


Copyright © 1999-2023 Kinook Software, Inc.