G
Guest
Does anyone know how I can extract the Icon from a Program(like Excel) or a File (*.xls) and use that icon on a runtime generated button
I am using .NET 2003 with Framework 1.1 and I am coding in C#
The platforms are Windows 98 and up
I have an app that will call up a file and luanch it's Windows Associated program when I click on a button for that file. I would like the button to have the same Icon as the file is displayed in Explorer
I don't know what the file will be ahead of time, and the icon may be different on one system vs. another (i.e. a picture file may display Paint on one syatm or Photoshop on another) I am already getting the open file info from the registry
Randy
I am using .NET 2003 with Framework 1.1 and I am coding in C#
The platforms are Windows 98 and up
I have an app that will call up a file and luanch it's Windows Associated program when I click on a button for that file. I would like the button to have the same Icon as the file is displayed in Explorer
I don't know what the file will be ahead of time, and the icon may be different on one system vs. another (i.e. a picture file may display Paint on one syatm or Photoshop on another) I am already getting the open file info from the registry
Randy