It’s easy to extract an application’s own icon in C#: form.Icon = Icon .ExtractAssociatedIcon( Application .ExecutablePath ); The ExtractAssociatedIcon static method on the Icon class (in System.Drawing) extracts the associated icon from any file.  By supplying the Application. ExecutablePath (in System.Windows.Forms), you extract the application’s own icon. ShareThis

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz