Integrating DraftSight and Visual Studio

Hello all,

I'm currently trying to use macro recording in DraftSight to "turn off and on" layers inside of DraftSight.

I am using Visual Basic inside of Visual Studio Professional 2013 for these macros.

However, I am having trouble "connecting/integrating" the two programs.

Is there something that needs to be done inside of DraftSight? Or a segment of code needed inside VS to call the macro to run inside DraftSight?

- Any help would be appreciated

Here are my two Visual Studio files: Macro.vb and Module1.vb (Both shown below).

- Thank you in advance!

SolidworksApi macros