Results 1 to 17 of 17

Thread: How do I create an Icon for my application.

  1. #1

    Thread Starter
    Fanatic Member Avatarp's Avatar
    Join Date
    Sep 2002
    Location
    Calgary
    Posts
    826

    How do I create an Icon for my application.

    I have created a picture in paint and saved it as a bitmap. Now how do I make my application executable have this picture as its icon?

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    Set it as the icon of a form in your app, then open the Project properties. In there somewhere you can set the "Use Icon from this object for Application" (it has a drop down with the list of all your forms).
    BTW: Bitmaps do not make good icons.... might want to do a search for an icon editor... IconForge is one. You can usualy import a bitmap, then export it as an ICO file.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    You'll need to convert it to a .ico file. There are many shareware apps that can do this.

    Also try Microangelo

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    The easiest way??

    Try BMPTOICO 4.0
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  5. #5
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    You should have this picture as an icon .ico. Select this icon for Icon property of your main form (frmMain) or whatever you have.
    Then go to menu > Project > Project XXX.. Properties. Click on Make tab and under Application > Icon select your form name (frmMain).

  6. #6
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Re: How do I create an Icon for my application.

    Originally posted by Avatarp
    I have created a picture in paint and saved it as a bitmap. Now how do I make my application executable have this picture as its icon?
    Do you mean as it's desktop shortcut icon? The Main Form Icon will dictate ehich icon is use for your shortcut...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  7. #7

    Thread Starter
    Fanatic Member Avatarp's Avatar
    Join Date
    Sep 2002
    Location
    Calgary
    Posts
    826

    I down loaded IconForge

    I created my icon with a trial version of IconForge. This may be better than saving a paint object as "name.ico" but it will cost money to get the full version of IconForge. But for my purposes paint will probably be good enough.

    Thanks for your replys



  8. #8
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Paint does not create icons!! You cannot rename a BMP to ICO and pretend that VB treat it as an icon. That would not work. There are some programs which are shareware, or even freeware. You should try with one of them.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  9. #9
    Frenzied Member ice_531's Avatar
    Join Date
    Aug 2002
    Location
    Sitting w/ Bob Status: -Next -To- Null- Friend: Philip
    Posts
    1,152

    Well...

    search www.google.com lol always helps me find stuff
    :::`DISCLAIMER`:::
    Do NOT take anything i have posted to be truthful in any way, shape or form.
    Thank You!

    --------------------------------
    "Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
    "Finaly I can look as gay as I want..." - NoteMe
    Languages: VB6, BASIC, Java, C#. C++

  10. #10
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    www.davecentral.com

    This is where I get my simple, but useful, utilities...

    Damn they shut down the site (been awhile)...

    Try www.download.com
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  11. #11
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: I down loaded IconForge

    Originally posted by Avatarp
    I created my icon with a trial version of IconForge. This may be better than saving a paint object as "name.ico" but it will cost money to get the full version of IconForge. But for my purposes paint will probably be good enough.

    Thanks for your replys


    I think iconforge never expires....
    At least it was like this when I used to use it. I kinda like it
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  12. #12
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    Is there any way to smooth out a .ico image? I have a circle and it just looks kind of choppy. Any help is greatly appreciated.

  13. #13

    Thread Starter
    Fanatic Member Avatarp's Avatar
    Join Date
    Sep 2002
    Location
    Calgary
    Posts
    826

    Don't work in Paint.

    Paint is great for many things but If you want make a high quality .ico you should use an icon maker program such as IconForge. You can find these programs on the Internet. Do a Goggle search for Icon Programs.

  14. #14
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    I'm not sure if that last post was for me or not but if it was, I didn't use Paint to create my icon, I used IconForge. Since it's only a 32 X 32 image I just kind of hoped that the image would be a bit cleaner. Either way, is it possible to decrease the pixel size (increase amount of pixels) in IconForge to create a better resolution?

  15. #15

    Thread Starter
    Fanatic Member Avatarp's Avatar
    Join Date
    Sep 2002
    Location
    Calgary
    Posts
    826

    When creating an icon in IconForge

    When creating a new icon you can change the resolution or size of the icon from the pop menu that comes up when you click new. You can also change the number of colors used for the icon. Depending on your computer you could us up to over 16 Million colors. So create a new icon and then paste in the image in the main window. Let me know how that works.
    Last edited by Avatarp; Oct 24th, 2002 at 12:33 PM.

  16. #16
    Junior Member
    Join Date
    Sep 2002
    Posts
    16
    try this site http://ranfo.com/ go to the software downloads and download icon editor its freeware and really good i use it

  17. #17
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    I think the best icon drawer is Microangello 98. It can be found at www.impactsoft.com

    Another way to create icons is to create a bitmap file, load it into an imagelist, call the extracticon method, and extract it to a picturebox, then use SavePicture to save it as an icon.

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