Click to See Complete Forum and Search --> : Icon Problems


Atlantisoft
February 22nd, 2000, 07:36 AM
I've got an icon that i've loaded into my vb project a LOOOONG time ago...and i accidentally deleted the ico file. now i need the icon back, but it's only in my vb project. and i have no clue how to copy it out. can anyone help? i need to get it back as an ico file, and the only copy i have of it is in the icon property of my main form.

Kyle Burns
February 22nd, 2000, 07:41 AM
There are many Shareware/Freeware programs available that will extract icons from an executable. Try a search on Alta Vista for:
+Icon +Extract
Here's one of the results http://supershareware.co.uk/Apps/4810.asp

Chris Eastwood
February 22nd, 2000, 07:46 AM
If you still have the original project (vbp, frm, frx files) then Brad Martinez has written some code in VB to extract all kinds of resources from 'frx' files -

http://www.mvps.org/btmtz/gfxfromfrx/



Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

Bunziman
March 11th, 2000, 08:07 AM
You could also try out the following code:
savepicture me.Icon,"C:\Windows\Desktop\LostIcon.ico"