We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Insert an Icon in my VB6 application and gives "unexpected error"

Medium Priority
2,362 Views
Last Modified: 2013-11-26
I have a VB6 apps and tried to insert an Icon via the properties window and got  "unexpected error".

I converted the Icon from PNG format.  Prior conversion the PNG properties is:

24-bit RGB color
Width 75 pixels (0.50 inches)
Height 75 pixels (0.50 inches)
Resolution 150
Image size on disk 16kb

Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Unfortunately non worked.  

I found this site http://converticon.com/ to also convert and nothing.  I used an icon from stevepicks link and copied my image there and converted back to ICO, nothing.

Am I missing something?
Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Attached is the JPG we want to change.  Unfortunately, the upload does not permit me to upload ICO files.  So here is the JPG version
oS.Icon.jpg

Author

Commented:
I went thu your link, its kinda complicate for just setting the Icon, but we'll keep trying
Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT

Commented:
Converted Jpg to 24-bit Ico with Axialis and it loads in Vb6 Form OK here.
Download Ico here:
http://www.mediafire.com/file/ljj3cdmnunw/oS.ico

Author

Commented:
Error: Invalid Picture (and I using a fresh new project just in case)

The thing is we did this a couple of month back with no problem....
Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Windows XP Pro Sp2

I download yout ICO, still "Invalid Picture"



Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
I already have the SP6

Yes thats what I think.  But the thing is that current ICO I can import, but ones I create, doesnt' work.

So is something I do

Author

Commented:
prior to
Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT

Commented:
The 2 icons I sent were made with with Axialis so I am sure they are OK and they both work  on my machine. I think there is something wrong with your Vb6 installation. Wouldn't hurt to try to reinstall SP6 to see if that corrects the problem. Reinstalling Vb6 from scratch is also fairly quick.  

Author

Commented:
the thing is that present ICO worked

Let me send you one that works and can u review it to see its structure?

I cant seem to send the ICO....is there way I can send it to u?
Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT

Commented:
If the Icons I sent don't work there then there must be something wrong with your Vb6 installation, otherwise why are they working here.

Author

Commented:
Ok...let me try reinstall SP6

Author

Commented:
Its not SP6.  I found out why my previous programmer icon worked.  He used an application called "Any to Icon" and I ran it and it worked excellently.

Author

Commented:
I don't how this works, but you've been very patience with us and helped a lot, so we'll give you the points.

Author

Commented:
Thanx to all
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.