Help needed adding VB6 dll addin to SW2007

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!

Reply to
Agent420
Loading thread data ...

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"
Reply to
yawdro

:-)

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

Reply to
Agent420

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]
Reply to
That70sTick

Great tutorials - Thanks!

Reply to
Agent420

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.