title: Invalid Picture In Visual basic 6
body: <p>I am developing a proj in vb 6. what the problems is that when i load icons(extension .ico) it gives "Invalid Picture". I searched it out on all the forums but still lying in. Any help would greatly be appreciated.</p>
  
  <pre><code>Image1.picture = loadpicture(app.path &amp; "\Abc.ico") 
  </code></pre>
  
  <p>But when convert the file to jpg from ico format :</p>
  
  <pre><code>image1.picture = loadpicture(app.path &amp; "\Abc.jpg")
  </code></pre>
  
  <p>It is loaded to Image1.</p>
  
  <p>i have also converted the icon file it to 24 bit from 32 bit but still is not working.</p>