Results 1 to 8 of 8

Thread: Problems with icons....

  1. #1
    Join Date
    Mar 2007
    Posts
    102
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Problems with icons....

    Im trying to get the runescape icon to show up on my vb program. When i put in the icon it shows up on the upper left hand corner of the form...but not the actual desktop icon when i make it an exe. Does anyone know whats happening??

    p.s. I dont know if this matters but i just edited an existing icon from windows so that i could create the rs icon. The icon showing up on my desktop is the icon that i edited to get the rs icon... Maybe its still reading the icon from the original source??? Help Please!!

  2. #2
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    First off, what did you use to edit it? You don't actually have to edit it, just use a program like PhotoShop, The GIMP, or Iconcool studio and paste the icon in or something. Paint will not work because it is unable to handle icon files.

    If the icon works, and it's not giving you an error or anything (apparently, VB6 can't handle XP style icons), you should be able to just go up to Project >>> Project Properties >>> Make >>> Application >>> Icon >>> Drop down & Select icon.

  3. #3
    Join Date
    Jan 2007
    Location
    Skaville, Jamaica
    Posts
    1,117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    First off, what did you use to edit it? You don't actually have to edit it, just use a program like PhotoShop, The GIMP, or Iconcool studio and paste the icon in or something. Paint will not work because it is unable to handle icon files.

    If the icon works, and it's not giving you an error or anything (apparently, VB6 can't handle XP style icons), you should be able to just go up to Project >>> Project Properties >>> Make >>> Application >>> Icon >>> Drop down & Select icon.
    Liar. Paint can handle .ico files. I made some for my mom the other day. (By that, I mean on the desktop screen, I changed the icon to one I made for her). Not necessarily the corner picture at the top left corner. Don't know about that.

  4. #4
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Did you actually try setting the icon to, maybe, a Delphi app? It'll say that the image is invalid.

    Sure it can save something under the icon file extension, but it can't actually save it as the icon format.

    Alright, try this:

    1) Open paint.
    2) Make a blank canvas and save it as an icon. [.ico, put the whole filename and extension in quotes. I trust you know that?]
    3) Open up that icon in a hex editor such as Hex Workshop.
    4) Now look at the first two letters. If it's not "BM" [bitmap], feel free to rub it in my face

  5. #5
    Join Date
    Jan 2007
    Location
    Skaville, Jamaica
    Posts
    1,117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol sorry. I just thought that paint could make .ico's.

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol can some1 link me to vb
    ~Hermen

  7. #7
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Google "Pop a BMP to Ico" if you already have the bitmap. It worked great for me when i was scripting in VB!

  8. #8
    Join Date
    Mar 2007
    Posts
    102
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Stats Icons!
    By Eugeniu in forum RS has been updated.
    Replies: 26
    Last Post: 11-06-2007, 11:31 AM
  2. icons
    By dialeyj2 in forum Delphi/FPC Help and Tutorials
    Replies: 1
    Last Post: 09-24-2007, 06:10 PM

Posting Permissions

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