Link to home
Start Free TrialLog in
Avatar of longhorn03
longhorn03

asked on

Run script when other VB application is finished

Hi all.  This is one of my first VB experiences and I'm struggling, so any help is very much appreciated.  I doubt this is a very hard question, but the answer is important to me so 200 (and maybe more) points to the solution.

I'm trying to create a new VB Application that uses another VB application inside of it.  What I really want to do is when my new application is started, the application inside is started.  Nothing else should happen to my application until the other program has been closed.  Once the other program is closed, I want my program to continue on with some other code that I will write later.

Is there any VB solution to checking to see if an application is still running?  Is there an On Application End command that I could use to continue my program once the other program finishes?


Thanks in advance for you help,

J
ASKER CERTIFIED SOLUTION
Avatar of AzraSound
AzraSound
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
well make the 2nd exe as an ActiveX executable and when u start the 1st executable start the 2nd executable also.

K'Regards

Jayesh
200 pts?->
AzraSound, you are so fast for over 150 pts question.

Just kidding

8->
>>AzraSound, you are so fast for over 150 pts question

Actually, I have limited myself to only reply to questions worth 200+ points.   ;-P   (joking, of course)
Avatar of longhorn03
longhorn03

ASKER

Thanks for your help, worked like a charm.

- J