Help needed adding VB6 dll addin to SW2007

Discussion in 'SolidWorks' started by Agent420, Oct 25, 2007.

  1. Agent420

    Agent420 Guest

    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!
     
    Agent420, Oct 25, 2007
    #1
  2. Agent420

    yawdro Guest

    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"
     
    yawdro, Oct 25, 2007
    #2
  3. Agent420

    Agent420 Guest


    :)

    Thanks so much for an excellent and speedy reply! Just what I needed!
     
    Agent420, Oct 25, 2007
    #3
  4. Agent420

    That70sTick Guest

    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.
    <http://www.esoxrepublic.com/devtools/>
    [/shamelessselfpromotion]
     
    That70sTick, Oct 25, 2007
    #4
  5. Agent420

    Agent420 Guest

    Great tutorials - Thanks!
     
    Agent420, Oct 25, 2007
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.