Cristi_E
asked on
Run Exe program within another Exe (window) program in vb6
Hello!
I need to run an application (exe) within another application. To be more specific, i think a saw a long time ago a vb6 project that could launch another application, and run that application prisoner in it's own window..... That application couldn't be dragged outside the launching application window.
I think that might be an API function... or something.
Do yoy have any informations?
Thank you!
I need to run an application (exe) within another application. To be more specific, i think a saw a long time ago a vb6 project that could launch another application, and run that application prisoner in it's own window..... That application couldn't be dragged outside the launching application window.
I think that might be an API function... or something.
Do yoy have any informations?
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It seems that SetParent API function is the only way in vb6.
What about VB.Net? What options do i have?
What about VB.Net? What options do i have?
this link shows you how to use the process.start and communicate with it, so you are able to wait for the started process to complete before moving on
http://visualbasic.about.com/od/usingvbnet/a/prstrt.htm
http://visualbasic.about.com/od/usingvbnet/a/prstrt.htm
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://social.microsoft.com/Forums/en-US/vblanguage/thread/e9841aab-03cc-446d-904d-2e23d1e93a99/