Results 1 to 6 of 6

Thread: Extract an Icon

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Extract an Icon

    is there a way I can extract my custom Icon back out of my project. I created a custom icon, I assigned it to my forms, but then I accidently removed from my project and deleted it in the process. It still displays on the forms, so it has to be stored somewhere. Anyways, to extract it back out again easily?
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Do you need to do this through code, or just use a tool to extract your icon? If it's the latter, there are free tools, like IconFinder, that can extract icons out of .exe, .dll etc.

    Go to download.com and search for iconfinder if that's what you need.

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I think it's stored as resource image , so he might need any of these free resource editors or readers (probably hview).

  4. #4
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Hi.

    You can just drag 'n drop you exe file from the explorer to an empty environment in VS.

    That will open the file in a treeview. Then unfold the treenode called Icon and double click it. Then you can copy/paste it.

    If you need to save it as an icon again, then select File-New-File and choose Icon.

    Then paste it and save as ICO.

    Did that make sense?
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  5. #5
    Lively Member
    Join Date
    Dec 2003
    Posts
    91
    Originally posted by pax
    Hi.

    You can just drag 'n drop you exe file from the explorer to an empty environment in VS.

    That will open the file in a treeview. Then unfold the treenode called Icon and double click it. Then you can copy/paste it.

    If you need to save it as an icon again, then select File-New-File and choose Icon.

    Then paste it and save as ICO.

    Did that make sense?
    easier way: drag the exe into vs, open the icon folder, and right click on the file inside. then choose export adn save :-D

  6. #6
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    LOL I couldn't figure out why I couldn't save it. Must have missed that export feature.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width