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

RUN EXECUTABLE WITH AN EXECUTABLE 1

Status
Not open for further replies.

anyhandle

Programmer
Dec 1, 2000
57
US
IS IT POSSIBLE TO RUN AN EXECUTABLE USING ANOTHER EXECUTABLE? IF SO CAN SOMEONE GET ME STARTED? HEADER FILE? HOW CAN THE OUTER EXECUTABLE SEE WHERE I AM WITHIN THE (RUN /N EXECUTABLE) INNER EXECUTABLE?
 
I'm not sure what you mean by "seeing where you are" in the inner executable, but there's no problem with one executable calling another.

DO myexecutable.exe

Jim
 
WHAT I MEAN IS CAN AN OUTER EXECUTABLE RUN AND MAKE SELECTIONS OF AN EXECUTABLE THAT IT 'KICKS' OFF. CAN I WRITE AN EXECUTABLE THAT LITERALLY OPERATES ANOTHER EXECUTABLE. RIGHT NOW I'M AWARE THAT IT CAN RUN IT (I.E. RUN /N APPLICATION.EXE

BUT I WANT THIS PROGRAM TO MAKE SELECTIONS WITHIN THE APPLICATION.EXE - PERHAPS USING MOUSE CLICK ROW,COLUMN ETC.
 
anyhandle

I am not following you. It sounds like Jim's example will do that. There must be something I am misunderstanding.



Jim Osieczonek
Delta Business Group, LLC
 
I'm able to have one exe call another. For example:

run /N myapp.exe

*but it won't do the following code until myapp.exe is done *running and closed. I want to run myapp.exe and make *screen selections of myapp.exe using the exe that I called *myapp.exe with.

if screen_name="about"
mouse click row, column && if this worked, it would
&& close the about screen in myapp.exe and go onto the
&& next screen
endif
 
The calling program will not resume execution until the called program ends and RETURNs control back to it.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top