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.
Image1.picture = loadpicture(app.path & "\Abc.ico")
But when convert the file to jpg from ico format :
image1.picture = loadpicture(app.path & "\Abc.jpg")
It is loaded to Image1.
i have also converted the icon file it to 24 bit from 32 bit but still is not working.
Abc.ico
a valid Windows icon? Not PNG, but old-style Windows icon - VB6 is old, and doesn't support alpha-blended or high-color icons; it expects old format, dull icons like in the Windows 95 days. – Ken White