|
-
August 29th, 2009, 01:38 PM
#4
Re: Control another program's flow ...?
Sorry to bother here again...
SendKeys would work great for what i need to do. However i'm having trouble opening a 3rd party program which is minimized to tray.
I've been testing the MS API... ShowWindow and SetForegroundWindow are both not working.
I'm using it this way...
Process[] processes = Process.GetProcessesByName("test");
foreach (Process p in processes) {
ShowWindow(p.Handle, 5);
}
Also tested with p.MainWindowHandle... any idea?
Thanks a lot in advance =D
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|