How import forms from VB6 in the SW IDE
How import forms from VB6 in the SW IDE
(OP)
Hi evrybody ;
I've developped an standalone executable to process many files with Visual Basic 6.
Now, I want to re-use the code and forms that are already written to make an integrated macro which will process the current opened model in SW.
But when I try to import the form in the SW IDE, the import failed.
Apparently, the form from SW IDE is contained inside to file (.frm->text file and .frx-> binary file) contrary to a from from vb6 which is contained in a simple file text (.frm).
Does anyone try to do this, or have an idea ???
Thanks for your helpful answers, and the others too !!!
I've developped an standalone executable to process many files with Visual Basic 6.
Now, I want to re-use the code and forms that are already written to make an integrated macro which will process the current opened model in SW.
But when I try to import the form in the SW IDE, the import failed.
Apparently, the form from SW IDE is contained inside to file (.frm->text file and .frx-> binary file) contrary to a from from vb6 which is contained in a simple file text (.frm).
Does anyone try to do this, or have an idea ???
Thanks for your helpful answers, and the others too !!!
SW2007 SP5
Worksatation HP wx4300 2GB
NVidia Quadro FX 3450






RE: How import forms from VB6 in the SW IDE
The best I could do is create a new form w/ controls that all have identical names, then copy-and-paste the code.
There are some slight differences, so there may be some bugs to work out.
http://www.EsoxRepublic.com-SolidWorks API VB programming help
RE: How import forms from VB6 in the SW IDE
I've ever thought to this solution, but didn't want to do it, in oder to manage only one code.
Unfortunatly, it seems to be the only solution.
Thank you still.
SW2007 SP5
Worksatation HP wx4300 2GB
NVidia Quadro FX 3450