1 Reply Latest reply on Jun 8, 2015 9:11 AM by Deepak Gupta

    Can i call my Exe or Dll from my Button on SW ?

    Nishihama Sayuri

      I made HelloWorld.Exe / HelloWorld.dll  by VB.NET. Can I call my exe / dll by clicking a button on SW tab ?


      ■HelloWorld.exe  /  HelloWorld.dll


      '-- Class1.vb ---------------------------

      Public Class Main

          Public Sub Test

             MsgBox("Hello World.")

          End Sub

      End Class




      I tried to

      (1)Register Key (for dll):   \HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Addins\{CLSID}

      (2)C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe "C:\AAA\HelloWorld.dll" /tlb


      Assign SolidWorks Macro to Button



      (3)I tried to Assign dll (this URL).

        Though I was able to select "*.dll" file, but can't select entrypoint.


      And I can't check ON my dll on Tools->Addin on SW.


      Please more advises.

      Thank you.