Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 05-14-2003, 05:04 AM
DevBoy DevBoy is online now
Registered User
Join Date: 05-08-2003
Posts: 2
Custom Action: Invalid class string


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>

Reply With Quote
Old 05-14-2003, 09:25 AM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,837
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 and we'll take a look.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 08:17 AM.

Copyright 1999-2021 Kinook Software, Inc.