I have looked around on the internet and can't seem to find an easy answer to these questions.
How would I make a list similar to the task manager Active Application list? I would like to put a listbox on my form that shows that list and cannot find any resource or tutorial. The keywords active and application give me all sorts of odd google hits and none of them help.
Once I have that list loaded, how do I take the path of the file, say "c:\windows\notepad.exe" And assign the exe's icon to a button in visual basic? I have found these 2 websites but I am still to much of a .net noob to figure it out.
http://www.vbdotnetforums.com/windows-presentation-foundation-wpf/28160-wpf-icon-system-drawing-icon.html
Icons in Win32
There has to be an easy way to read the icon from an exe, but how do you do it?
Thanks in advance for the help!
Nick
How would I make a list similar to the task manager Active Application list? I would like to put a listbox on my form that shows that list and cannot find any resource or tutorial. The keywords active and application give me all sorts of odd google hits and none of them help.
Once I have that list loaded, how do I take the path of the file, say "c:\windows\notepad.exe" And assign the exe's icon to a button in visual basic? I have found these 2 websites but I am still to much of a .net noob to figure it out.
http://www.vbdotnetforums.com/windows-presentation-foundation-wpf/28160-wpf-icon-system-drawing-icon.html
Icons in Win32
There has to be an easy way to read the icon from an exe, but how do you do it?
Thanks in advance for the help!
Nick