title: Path to an embedded resource file
body: <p>I have an icon in my resource file , which I want to reference.</p>
  
  <p>This is the code that needs that path to an icon file:</p>
  
  <pre><code>IWshRuntimeLibrary.IWshShortcut MyShortcut  ;
  MyShortcut =   (IWshRuntimeLibrary.IWshShortcut)WshShell.CreateShortcut(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\PerfectUpload.lnk");
  MyShortcut.IconLocation = //path to icons path . Works if set to @"c:/icon.ico" 
  </code></pre>
  
  <p>Instead of having an external icon file I want it to find an embedded icon file. 
  Something like </p>
  
  <pre><code>MyShortcut.IconLocation  = Path.GetFullPath(global::perfectupload.Properties.Resources.finish_perfect1.ToString()) ;
  </code></pre>
  
  <p>is this possible ? if so how ?</p>
  
  <p>Thanks</p>