Results 1 to 3 of 3

Thread: Custom icon works on windows seven, not on XP?

  1. #1

    Thread Starter
    Addicted Member Witis's Avatar
    Join Date
    Jan 2011
    Location
    VB Forums Online Freedom Mode: Operational
    Posts
    213

    Custom icon works on windows seven, not on XP?

    Hi

    I customised my main form's icon which is also used as the icon for the .exe, I compiled it on windows seven and it works as it should, although when I tried running it on XP the app won't run. I tried 2 different icon making programs and I got the same result on both occasions. The application works on seven and XP if I don't use a custom icon, is it a known bug?

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Custom icon works on windows seven, not on XP?

    You'll want to look at that icon. Ensure it doesn't contain a 32bpp or PNG. Vista & Win7 can handle PNGs within icons, XP & below cannot. VB cannot handle 32bpp icons at all.

    Also, how are you adding this icon to your form exactly?
    You may want to upload the icon here & many of are knowledgeable enough to look at it and let you know if we see anything odd about it. Not suggesting your icon creator is flawed, but it is a possibility?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Addicted Member Witis's Avatar
    Join Date
    Jan 2011
    Location
    VB Forums Online Freedom Mode: Operational
    Posts
    213

    Re: Custom icon works on windows seven, not on XP?

    Hi LaVolpe

    Thanks for your reply. I tried to replicate the error (I was setting the form's icon property to a custom 16x16 bit icon) although I could not, I will have to investigate it further. Nonetheless you might find this as interesting as I did: http://www.vbaccelerator.com/home/Vb...ly/article.asp

    Rgds

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