vb.net set to an instance of a SW object

Howdy,


I'm working with the SW VSTA for the first time. I'm experimenting with a test copy of SW 2009 sp2.0. Attached is an example project folder that demonstrates my problem.

I can run a macro from the Main module, but, can't seem to figure out how to connect to SW from a Form module - if that makes any sense.

I have a feeling I'm either real close or real far from what is required :-). I don't have a clue. I hope it's something simple.


Can anyone help?


Thanks

SolidworksApi macros