|
-
February 22nd, 2000, 08:36 AM
#1
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.
-
February 22nd, 2000, 08:41 AM
#2
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
-
February 22nd, 2000, 08:46 AM
#3
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
-
March 11th, 2000, 09:07 AM
#4
Re: Icon Problems
You could also try out the following code:
savepicture me.Icon,"C:\Windows\Desktop\LostIcon.ico"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|