0

I am working on a project l. I need to get file icon path to use with another function.

The function requires a string as it's parameter and I am getting System.Drawing.Icon

I got icon from:

Icon.ExtractAssociatedIcon()

I thought of saving the icon as bitmap somewhere in the drive.

Is there any other way of doing this?

Any answers appreciated.

CeSuX Weeder
  • 58
  • 1
  • 8
  • Is this a windows forms application ? What do you mean by "application icon", the icon of the form ? Or the icon of the assembly ? Or other icon ? – Clock Oct 19 '16 at 17:53
  • Application icon from desktop – CeSuX Weeder Oct 19 '16 at 17:54
  • If you can do the translation to c# yourself [this answer](http://stackoverflow.com/a/1551567/578411) from Hans Passant might be helpful. – rene Oct 19 '16 at 17:55

0 Answers0