Industry Online Support
Technical Forum
10/14/2008 11:22 AM | |
Posts: 487 Rating:
|
Hi So far I got a script from 'product support' under WinCC programming that is supposed to keep your application 'ontop' but it does not work with my application In the example they use acrobat but the window names are different between starting an application and a running application ( acrobatSDIwindow against Adobe Reader ) So where can I find these various window names or window classes. I attach a small program that enumerates these windows but still does not solve my program Eric AttachmentEnumCallbackProject.zip (47 Downloads) |
1/30/2009 6:29 PM | |
Joined: 5/17/2006 Last visit: 9/25/2023 Posts: 218 Rating:
|
Hi aikona (Eric) , I think its a nice thread, about handling processes. As I understand in my way, we need to handle windows processes. Which programs are running ? Getting the list of processes I know how to do in C# We add to startup: using System.Diagnostics; Buttons click even or wherever we want : Process[] processlist = Process.GetProcesses(); foreach (Process theprocess in processlist) { Console.WriteLine("Process: {0} ID: {1}", theprocess.ProcessName, theprocess.Id); } then we will get list of the process, according to the process or Process Ids we could call again or not. For example; svchost.exe have many instance in windows operating systems. Sorry for not to find in C, but we could find VBS maybe, Written in VBS Best regards, |
Genetic Fuzzy PID Controller |
|
Follow us on