START UP ANOTHER PROGRAM FROM WITHIN ?
START UP ANOTHER PROGRAM FROM WITHIN ?
(OP)
Is it possible to start another existing '.exe' file from within a running visual basic executible ?
If so, can you tell me the relevant commands ?
Cheers.
If so, can you tell me the relevant commands ?
Cheers.





RE: START UP ANOTHER PROGRAM FROM WITHIN ?
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
RE: START UP ANOTHER PROGRAM FROM WITHIN ?
A further question ... is it possible having started up that second program, to insert a word in a text box in the second program ?
RE: START UP ANOTHER PROGRAM FROM WITHIN ?
For your second question use sendkeys
RE: START UP ANOTHER PROGRAM FROM WITHIN ?
RE: START UP ANOTHER PROGRAM FROM WITHIN ?
RE: START UP ANOTHER PROGRAM FROM WITHIN ?
I can start another program, say called 'name' from within a running .exe with shell(name.exe) and write to it using SendKeys "words", for example. But there seems no control over exactly where the sendkeys statement places "words" in 'name.exe'. Is there some way to identify, say text1.text in the 'name.exe', as a destination for "word" ?
RE: START UP ANOTHER PROGRAM FROM WITHIN ?
Alternatively use any keyboard shortcuts existing in the second program from SendKeys (another possibility is the correct number of tabs from sendkeys)