×
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

Open Solidworks inside VB Form??

Open Solidworks inside VB Form??

Open Solidworks inside VB Form??

(OP)
I write programs using Visual Basic and VB.Net that automate external applications such as Solidworks and Excel.  Up until now I have been having my programs open instances of these external apps in their own windows.  I now want to be able to start an instance of these apps inside of a windows form without having them open in their own windows outside of my program interface.  Therefore my question is, Does anyone know of a form control (and) or tool that will facilitate this?  Or for that matter, does anybody have any idea how I might be able to accomplish this task?  Thanks for your time folks!!

RE: Open Solidworks inside VB Form??

Well, the GOOD news is that you can use the OLE control.

The bad news is just about everything else.

SW crashes if you use configurations
(at least it did when i tried it in in 03) and you dont have much control over the process; the functionality seems to be a bit over just embedding a document. If you have any luck with it, Id be interested to hear.

RE: Open Solidworks inside VB Form??

Do you need the session visible or just running?  I'm fairly certain that you can open an invisible session of SW.

Due to illness, the part of The Tick will be played by... The Tick.
http://www.EsoxRepublic.com

RE: Open Solidworks inside VB Form??

Look in this thread: <Thread559-67023>.  It discusses using the shell command to open a second SW session.

Also, look in the SW API help under SldWorks::UserControl and SldWorks::Visible

Due to illness, the part of The Tick will be played by... The Tick.
http://www.EsoxRepublic.com

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