10-09-2008 12:29 AM
hi all
I want to get the list of application names that are currently opened on windows platform through labview
Kindly anyone help me in this
Thanks
With regards
Bala
10-09-2008 03:57 AM
Hi Bala,
Back in the day when 32 was a big number, we used to use the Windows API for such things - .but .Net makes life so much easier!
See attached VI.
10-09-2008 08:21 AM
hi tbd
Thanks for the vi
But it gives the process that are running the windows.
i need the applications that are opened and not the process
Thanks
10-09-2008 10:10 AM
10-10-2008 12:24 AM
Hi wiebe
Thanks for your mail.
Actually i want to get the application names that i have opened in windows.
Suppose i have opened LabVIEW, notepad, MS-Word on windows platform
I have to get these names through the labview code and not all the processes which run in Windows
Hope i have clearly explained my doubt
With regards
Bala
10-10-2008 04:40 AM
10-10-2008 04:59 AM
This is working for me... Checking WS_VISIBLE returned some other stuff (even apperently drivers), so I check some other flags as well... Suit yourself.
The VI returns the exact same list as task manager's Applications tab.
Regards,
Wiebe.
10-11-2008 07:09 PM
Hi Bala, Wiebe,
Using .NET it's pretty easy to get the application-windows (they're the only processes with a "Main Window Title") but LabVIEW's child-window-names were a problem - so I cheated.
Before 1st reply I searched for a solution like Wiebe's, but didn't find one - nice work Wiebe!
Cheers.
10-13-2008 04:40 AM
10-20-2008 12:06 AM
hi guys
Thanks for your replies!!!!
i am getting the required output now from your vi's
Thaks a lot
With regards
Bala