I have the path name to a .exe file.
How do I find the path to the icon that windows would use if this file were dropped on the desktop? (I want to display this icon in my own program.)
I need to be able to find the icon via my C# program at runtime.
Using C# in Visual Studio 2008.
If found this code online a while ago to do that:
you also need
to reference all the appropriate classes