Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Apr 9, 2004
Messages
2
Location
US
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!!
 
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

Back
Top