View Single Post
  #1  
Old 01-27-2006, 05:46 PM
mweinberger mweinberger is online now
Registered User
 
Join Date: 12-23-2005
Posts: 40
Implementing a Custom Script

I want to create and implement a custom dialog. I looked at the sample code, Prompt.bld, and created my own VB6 DLL. I saw the "VB6 Action.actn" file and created my own one.

<?xml version='1.0' encoding='utf-8'?>
<action DefaultProperty=''>
<GUI Category='Custom Actions' Description='Custom actions' Bitmap='VBProActionShowLabels.dll,101'></GUI>
<ActionComponent>VBProActionShowLabels</ActionComponent>
</action>

I dragged and dropped this action file onto the form, but can't start the DLL. I just get

Error creating custom action 'VBProActionShowLabels': Class not registered
Step 'Run VBProActionShowLabels' failed

or some other error depending on what I try. I don't see anything in the .actn file that will start the VB6 DLL. What am I doing wrong. The online documentation doesn't really talk about the steps necessary after creating the VB6 DLL. I wouldn't mind a "Steps for Dummies" type of section, as it is frustrating.

The VB6 DLL is "VBProActionShowLabels.dll"

Thanks in advance,

Martin
Reply With Quote