title: How to set default icon in NET DLL?
body: <p>I have managed a VB.NET ClassLibrary project and compiled it as DLL.</p>
  
  <p>The problem is, this dll is a plugin for a Win32 program, which can display main icon of DLL.
  Looks like this icon is recognized by the program as a resource named MAINICON (for c++ example, this described in .rc resource file like that: MAINICON ICON "dllicon.ico" ).</p>
  
  <p>Is there any way to simulate this behavior in .NET DLL?</p>
  
  <p>P.S: I've tried adding icons as MAINICON named embedded resource, but it doesn't recognizes. 
  It just displays <a href="http://i.stack.imgur.com/iRKa4.png" rel="nofollow">this default icon</a> (have no idea why).</p>
  
  <p>P.P.S: Also I get this clue (not sure will it help or not), but don't know how to use it:</p>
  
  <blockquote>
    <p>The program will default to the lowest-numbered icon in its resources.</p>
  </blockquote>