Hi All,
Just wondering if anyone can shed some light into how I should goabout importing a previous SW VBA project into VB.NET.
So far I have done the following.
I exported all forms, modules and classes from the SW macro. Itried opening one of the forms in a new VB.NET project but the formdoes not show in the form designer.
I imported all the forms, modules and classes into VB6 to create anew project. That seemed to go okay except that the forms come inas designer forms and so have reduced settings/options in theproperties. I can import this project into VB.NET but as expected Iget alot of errors because of the changes in code structure.
I always knew I would have to redo alot of the actual Subs andFunctions, etc but is there any way to get the forms to load intoVS.NET. When importing can the old controls be automaticallyreplaced with the newer .NET ones. Or do I basically have to redothe whole form layout/GUI from scratch.
Thanks in advance,
Declan.SolidworksApi macros
Just wondering if anyone can shed some light into how I should goabout importing a previous SW VBA project into VB.NET.
So far I have done the following.
I exported all forms, modules and classes from the SW macro. Itried opening one of the forms in a new VB.NET project but the formdoes not show in the form designer.
I imported all the forms, modules and classes into VB6 to create anew project. That seemed to go okay except that the forms come inas designer forms and so have reduced settings/options in theproperties. I can import this project into VB.NET but as expected Iget alot of errors because of the changes in code structure.
I always knew I would have to redo alot of the actual Subs andFunctions, etc but is there any way to get the forms to load intoVS.NET. When importing can the old controls be automaticallyreplaced with the newer .NET ones. Or do I basically have to redothe whole form layout/GUI from scratch.
Thanks in advance,
Declan.SolidworksApi macros