Icon problem for SE addin (VB6)

 

Hello...

I have an addin created in VB6 for SE... everything works fine...

Now i want to change the icon of the command button in SE, i've updated the bmp file with a new image and when i install and run the addin it is still the old icon...

Does SE "cache" the icons somewhere? and how do i get the new icon to show in SE?

Any ideas?

 

Posted by: Daniel Johansson
Post date: 10/3/2008 2:24:31 AM

2 REPLIES

RE: Icon problem for SE addin (VB6)

SE does indeed cache the toolbars of an addin. Each time you change the toolbar of your addin you should increase the GuiVersion. This is a property of the ISEAddin interface.

You might set the GuiVersion inside the Addin.OnConnection() method.

 

Another, but not recommended option for testing, is to reset the GuiVersion in the registry BEFORE starting SE the next time. If your addin was registered for Assembly environment in SE V20, you have to change the following key:

HKEY_CURRENT_USER\Software\Unigraphics Solutions\Solid Edge\Version 20\Assembly\AddIns\{}\GuiVersionSmiley Very HappyWORD = 0x00000000

 

 

Posted by: Martin Bernhard
Post date: 10/4/2008 4:18:48 AM

RE: Icon problem for SE addin (VB6)

 

I solved the problem... stupid misstake... forgot to update the resource file in VB... 

Thanks for the help anyway...

 

Posted by: Daniel Johansson
Post date: 10/5/2008 11:28:11 PM