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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running other applications from vb

Status
Not open for further replies.

readingcoops

Programmer
Aug 12, 2003
10
0
0
GB
I want to use a menu program to drive other applications from within VB and once the other application is activated have the menu program minimize and wait for teh sheel app to terminate and return control to the menu app which should then restore.

Is there a way to do this? I can't find one anywhere or am I just looking in the wrong place.

Regards

Graham
 
Not quite sure if I understand the question fully but look into the ShellExecute API, then to monitor the application look into FindWindow API.

Matt
 
A quick search for ShellAndWait in this forum should revela a number of examples of the technique that MattSTech describes
 
Thanks, will chase that down now.

Cheers and regards people.
[thumbsup2]
 
You should also check the FAQs section of this forum:

faq222-428
faq222-32

Swi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top