Solved

Graphic editors: visual basic 6:  Icon problems:

Posted on 2011-02-16
3
501 Views
Last Modified: 2012-05-11
Graphic editors: visual basic 6:  Icon problems:  I have an icon I made, but when I try to use it as the sysTray icon, I get the error:  Invalid picture (Error 481)An invalid graphics format "    However,  my icon works fine in all icon viewers and icon editors.   And it compiles fine in Visual Studio C++
So, how to fix the icon so it works with VB6?
0
Comment
Question by:galaxy7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Expert Comment

by:mankowitz
ID: 34913451
what is the color depth of your icon? VB6 doesn't support truecolor. Try reducing it to 8bpp or 16bpp and see if it works.
0
 

Accepted Solution

by:
galaxy7 earned 0 total points
ID: 34913476
While waiting for an answer, I solved it myself by googling+experimenting.  I needed new icon software, and VB6 DOES accept Truecolor, but must be set it for 24bits, not 32, then it worked.  
0
 

Author Closing Comment

by:galaxy7
ID: 34941444
ljlkjlj
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question