Solved

Graphic editors: visual basic 6:  Icon problems:

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumHeights2  challenge 7 78
countX 22 70
Adding to a VBA? 6 49
Notepad++ how to remove delimiter : from beggning of the line? 3 77
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article will show, step by step, how to integrate R code into a R Sweave document
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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…

760 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

20 Experts available now in Live!

Get 1:1 Help Now