How to get current running applications...
-
Hello, I have been trying to get currently running user application same as task manager in which first tab "Application" shows all currently running user applications. I have used EnumWindows() API to find current open windows so i thought i could be able to find all the application running. But problem with EnumWindows() is it gets all windows such as task bar, any services running as well as user application windows such as my computer or outlook. Finally problem is i want to find all windows explorer windows opened by user. EnumWindows() can get exe path of the window as well as title of the window. But for any explorer window exe name is always C:\Windows\explorer.exe and it is same for any explorer window whether it is opened by user or by operating system as a service. So how to find whether the window that is opened is a explorer window that is opened by user. How to differentiate between explorer windows opened by user or windows service windows whereas the exe path is same C:\Windows\explorer.exe. I need urgent help in problem. :doh: If any body have any clue please share. Any body has clu
vicky
-
Hello, I have been trying to get currently running user application same as task manager in which first tab "Application" shows all currently running user applications. I have used EnumWindows() API to find current open windows so i thought i could be able to find all the application running. But problem with EnumWindows() is it gets all windows such as task bar, any services running as well as user application windows such as my computer or outlook. Finally problem is i want to find all windows explorer windows opened by user. EnumWindows() can get exe path of the window as well as title of the window. But for any explorer window exe name is always C:\Windows\explorer.exe and it is same for any explorer window whether it is opened by user or by operating system as a service. So how to find whether the window that is opened is a explorer window that is opened by user. How to differentiate between explorer windows opened by user or windows service windows whereas the exe path is same C:\Windows\explorer.exe. I need urgent help in problem. :doh: If any body have any clue please share. Any body has clu
vicky
You can use
IsWindow
andIsWindowVisible
to check if it is a visible window. To get the title bar text callGetWindowText
on the window handle.«_Superman_»
-
Hello, I have been trying to get currently running user application same as task manager in which first tab "Application" shows all currently running user applications. I have used EnumWindows() API to find current open windows so i thought i could be able to find all the application running. But problem with EnumWindows() is it gets all windows such as task bar, any services running as well as user application windows such as my computer or outlook. Finally problem is i want to find all windows explorer windows opened by user. EnumWindows() can get exe path of the window as well as title of the window. But for any explorer window exe name is always C:\Windows\explorer.exe and it is same for any explorer window whether it is opened by user or by operating system as a service. So how to find whether the window that is opened is a explorer window that is opened by user. How to differentiate between explorer windows opened by user or windows service windows whereas the exe path is same C:\Windows\explorer.exe. I need urgent help in problem. :doh: If any body have any clue please share. Any body has clu
vicky
Sure, use these APIs; You will get the user name for each process (EXPLORER)
OpenProcessToken GetTokenInformation LookupAccountSid
-
Hello, I have been trying to get currently running user application same as task manager in which first tab "Application" shows all currently running user applications. I have used EnumWindows() API to find current open windows so i thought i could be able to find all the application running. But problem with EnumWindows() is it gets all windows such as task bar, any services running as well as user application windows such as my computer or outlook. Finally problem is i want to find all windows explorer windows opened by user. EnumWindows() can get exe path of the window as well as title of the window. But for any explorer window exe name is always C:\Windows\explorer.exe and it is same for any explorer window whether it is opened by user or by operating system as a service. So how to find whether the window that is opened is a explorer window that is opened by user. How to differentiate between explorer windows opened by user or windows service windows whereas the exe path is same C:\Windows\explorer.exe. I need urgent help in problem. :doh: If any body have any clue please share. Any body has clu
vicky
There is an API called "GetInstalledPath".Search on net and use it.Its working fine for my application.It will get the installed path.
-
There is an API called "GetInstalledPath".Search on net and use it.Its working fine for my application.It will get the installed path.