Custom panel registration.

Custom panel registration.

Postby » Tue May 27, 2014 6:34 am

I created a custom panel that will be used in validation.
I declared the product id in the script like:
<Namespace MYPannel
<ProdID("MyPannelID")>.......
But after I registering it in Windows and local machine registry, and then try open the validation module, I am getting an error station that ProductID is invalid
Obviously it is something wrong with product id that I hardcoded.
What I did wrong?
Participant
 
Posts: 51
Joined: Thu Jul 19, 2012 12:06 pm

Re: Custom panel registration.

Postby » Tue Jul 15, 2014 12:19 pm

You really don't need a "Product ID" with a Custom Panel like you do for a Custom Module. Typically, all that is needed is a unique ProgID which will be written into the registry in the "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Kofax Image Products\Ascent Capture\3.0" section. Here is an example of a typical reg file for a Custom Panel that runs in the Validation Module:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Kofax Image Products\Ascent Capture\3.0\Ascent Capture - Validation\User Panels\TestCPanel]
"DisplayName"="TestCPanel"
"ProgID"="TestCPanel.CPanel"
"MinSizeX"=dword:00000032
"MinSizeY"=dword:00000032
"InitSizeX"=dword:00000032
"InitSizeY"=dword:00000032
"Visible"=dword:00000001
If they are going to hate you anyway for what you do, then you might as well put forth your best effort.
User avatar
Participant
 
Posts: 62
Joined: Tue Apr 10, 2007 8:11 am


Return to Custom Modules General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest