Solved

Graphic editors: visual basic 6:  Icon problems:

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

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…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

688 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