title: Load Image from My.Resources to a Picturebox (VB.NET)
body: <p>I'm having trouble loading an image from My.Resources. I have already tried a no. of codes like....:</p>
  
  <ol>
  <li><p><code>PictureBox1.Image = My.Resources.Online_lime_icon;</code> And</p></li>
  <li><p><code>PictureBox1.Image = CType(My.Resources.ResourceManager.GetObject("Online_lime_icon"), Image)</code></p></li>
  </ol>
  
  <p>but it would still return:</p>
  
  <pre><code>Picturebox1.Image = Nothing
  </code></pre>