×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How import forms from VB6 in the SW IDE

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 !!! winky smile

SW2007 SP5
Worksatation HP wx4300 2GB
NVidia Quadro FX 3450

RE: How import forms from VB6 in the SW IDE

I've had this problem.  There's a difference between VBE forms and MS 2.0 forms.

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.

batHonesty may be the best policy, but insanity is a better defense.bat
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: How import forms from VB6 in the SW IDE

(OP)
Thanks TheThick.

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources