Load VB Express userform into Solidworks for editing.

I have created a userform using Visual Basic Express 2010. I haven't created any coding for it yet, but would like to import the userform into the solidworks VB editor so I can do the coding in there. Unfortunately I can;t seem to get the userform to load.


Also, when i try to open a vb project in SW, it doesn't seem to load.

Any help would be appreciated.

SolidworksApi macros
Answers 5
AT
AT 2013-08-09 Best Answer

Are you talking about VBA macro or VB.NET VSTA macro in SolidWorks?

SS
SS 2013-08-09

In solidworks i would be creating a vba macro.

AT
AT 2013-08-09

I'm afraid you cannot import the VB.NET form (this is created with VB Express) to VBA macro (which is VB6/VB7) - these are different languages. You may probably convert this through some convertion softwares but I wouldn't suggest to do this.

SS
SS 2013-08-09

Oh, well I'll just have to re-create the form.

Thanks anyway Artem.

SS
SS 2013-08-09

I'm actually not sure what you mean by this Artem. How would i know the difference?