?
Solved

Graphic editors: visual basic 6:  Icon problems:

Posted on 2011-02-16
3
Medium Priority
?
507 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

571 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