PDA

View Full Version : Custom Action: Invalid class string


DevBoy
05-14-2003, 04:04 AM
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>

kinook
05-14-2003, 08:25 AM
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.