-
Icon Problems
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.
-
Re: Icon Problems
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
-
Re: Icon Problems
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
-
Re: Icon Problems
You could also try out the following code:
savepicture me.Icon,"C:\Windows\Desktop\LostIcon.ico"