Solved

Graphic editors: visual basic 6:  Icon problems:

Posted on 2011-02-16
3
497 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
String manipulation in Visual Basic 7 59
SLMGR Switches Are Not Working On KMS Host 3 69
recursion example 16 111
Macro Excel - Multiple If conditions 2 64
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now