PDA

Click to See Complete Forum and Search --> : how to run two exes using process


kumar_1981
Jan 11th, 2007, 01:42 AM
Hai

i am having two exe.

X.exe and Y.exe


first i am opening X.exe .if i click a button in the form of X.exe ,it should display Y.exe and X.exe should be closed. and when a button is clicked in Y.exe , y.exe should be closed and X.exe should be displayed.


Please help me in this regard



Thanks and Regards
Vinay Kumar

Pirate
Jan 11th, 2007, 10:43 PM
After you fire up any of the EXEs , you simply look up (by name) in the current running processes for the EXE being run , then shut it down , fire up the other exe and follow the same procedure before you close it .I'm not at my dev pc so I can't give you code right now.