Help needed adding VB6 dll addin to SW2007

Oct 25, 2007 4 Replies

Hello - new group subscriber...



Looking for info regarding how to add a VB6 dll to SW2007. Done a fair bit of Googling, downloaded SW api demos etc... I have created the dll, registered it via regsvr32, determined the clsid via regedit. I understand this information needs to be added to the Solidworks Addins reg key, but I simply cannot find _any_ example of what format or information needs to be added.



Any tips?



Thanks much in advance!



This is from the API support people at SolidWorks. I fought this for a long time.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns\{your AddIn's CLSID goes here}] @=dword:00000000 "Description"="Test AddIn" "Title"="Test"

:-)

Thanks so much for an excellent and speedy reply! Just what I needed!

The quick way to install an addin is to simply drag-and-drop the DLL into an open SW session. This automatically registers the DLL and creates the registry keys.

When I create an addin, I do the drag-and-drop to create the reg keys. Then I copy and modify the keys to include w/ the installation wizard when distributing for public use.

[shamelessselfpromotion] If you need utilities to manipulate registry in your program, I have a free module available. Also a template. [/shamelessselfpromotion]

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required