Results 1 to 7 of 7

Thread: extracting and changing icon from an exe or dll's files

  1. #1

    Thread Starter
    Addicted Member rbnwares's Avatar
    Join Date
    Sep 2000
    Location
    Philippines
    Posts
    142
    How can I change an existing icon from an exe file. For example, the icon of this program is this then I want to change that other icon. I would gladly appreciate any help.
    Stupidity is better than cure.

    VB6 SP5 Enterprise Ed.
    C, Pascal, VC++ 6.0


    Running Win98 SE and Win2000 Prof. Ed.


    Email me at : [email protected]

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    Are you saying any program's icon, or just your VB
    application's icon?

  3. #3

    Thread Starter
    Addicted Member rbnwares's Avatar
    Join Date
    Sep 2000
    Location
    Philippines
    Posts
    142

    Red face

    Other application.
    Stupidity is better than cure.

    VB6 SP5 Enterprise Ed.
    C, Pascal, VC++ 6.0


    Running Win98 SE and Win2000 Prof. Ed.


    Email me at : [email protected]

  4. #4
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    I'm not sure why you would want to change the icon of
    another program, but you can't anyway. You can only change
    the icon of a shortcut to the program.

  5. #5

    Thread Starter
    Addicted Member rbnwares's Avatar
    Join Date
    Sep 2000
    Location
    Philippines
    Posts
    142

    Cool

    I have seen some icon tools that can actually replace icons from an exe file. In Visual C++ when u load an exe or dll file it list its icon resources and u can add and even replace its icon.
    Stupidity is better than cure.

    VB6 SP5 Enterprise Ed.
    C, Pascal, VC++ 6.0


    Running Win98 SE and Win2000 Prof. Ed.


    Email me at : [email protected]

  6. #6
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    Then use Visual C++.
    I'm still not sure why you want to do this.
    Don't know of a way in VB.

  7. #7

    Thread Starter
    Addicted Member rbnwares's Avatar
    Join Date
    Sep 2000
    Location
    Philippines
    Posts
    142
    I need to code that in VB. Actually, I want to change one of the icons of ????.exe so that the icon of the startbutton is change also. I'm improving my program so that the icon can also be change aside from changing the caption and tooltip. I know that there's an API function for extracting those icons from an exe or dll files but to replace the original icon was my problem. Got it?

    My web page is at http://members.fortunecity.com/rbnwares1
    check it out if u want to understand what do I mean.
    Stupidity is better than cure.

    VB6 SP5 Enterprise Ed.
    C, Pascal, VC++ 6.0


    Running Win98 SE and Win2000 Prof. Ed.


    Email me at : [email protected]

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