i am looking for code that my app will start when another program starts? please help thanks
Printable View
i am looking for code that my app will start when another program starts? please help thanks
Y not do like this..
when ur program starts, start the app. instead of waiting for the app to start u can start it from ur program..
Because i want them to click on a program and then mine will start. please help me if you can thanks
could you create a batch file which does that? instead of running their app, they run your batch file which runs their app then your app?
i couldn't imagine a way to do it other than that without having a process running constantly checking to see if the app has started or not.
Are u doing the both developments of exes'
if so u can use shell command
Another option is to have your program start hidden, and have it check to see if the other program is running. Once you find the program running, you unhide your program and start regular execution of it.
I suppose I might consider changing the shortcut to the other exe, so that your program starts instead, and launches the other exe. The path to the other file could also be passed as a parameter, so it would not need to already know where it is. There is of course the matter of the icon for the shortcut, but that can be handled as well.
i agree with Cakie & Wizbang
This is wat i have done earlier using RUMBA.
User starts my application and in turn my app starts a Mainframe Session..and my application is hidden from the user..
then once the user presses F15 on the Keyboard in the mainframe session, my application activates again and gets the data from the mainframe session..
i think u can do it same way..