×
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 Application Inside VB Form??

Open Application Inside VB Form??

Open Application 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?  Thanks for your time folks!!

RE: Open Application Inside VB Form??

Check out "Shell()" function, it allows you to perform Windows command in the same manner as from Start-Run menu. You will have to ask solidworks to provide you with the syntax of the batch command. It, probably, is going to have a few switches and options. I've done somewhat similar working with GTSTRUDL, they have at least 10 volumes of program documentation, but this little batch command is not part of it. You will have to call.

Good luck.

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