Launch myprogram with another at same time
-
Is there a way to launch my program at the same time when I open, lets say, notes.exe?
-
Is there a way to launch my program at the same time when I open, lets say, notes.exe?
hi, you can use process.start("notes.exe")
All The Best Sathesh Pandian
-
Is there a way to launch my program at the same time when I open, lets say, notes.exe?
There's no way to hook into the launch of notes.exe to know that it has launched. You have two options: 1) Use a batch file to launch notes.exe that will also launch your app. 2) Have a boostrap app permanently running (at startup, or as a service) that scans the running processes, then launches your app when it sees notes.exe is running.
-
There's no way to hook into the launch of notes.exe to know that it has launched. You have two options: 1) Use a batch file to launch notes.exe that will also launch your app. 2) Have a boostrap app permanently running (at startup, or as a service) that scans the running processes, then launches your app when it sees notes.exe is running.
Yes, there is a way. You may not like it though! :laugh: You can patch notes.exe, such as to modify the entrypoint to a different location, which, obviously, launches your application and then forwards the execution to the original entrypoint of notes.exe! That's how some viruses work, isn't it? ;P Cheers,
Bornish ESRI Developer Network Compilers demystified - Function pointers in Visual Basic 6.0 Enables the use of function pointers in VB6 and shows how to embed native code in a VB application.