Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Application Inside VB Form??

Status
Not open for further replies.

kayj

Mechanical
Apr 9, 2004
2
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!!
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor