Link to home
Start Free TrialLog in
Avatar of jana
janaFlag for United States of America

asked on

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

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

ASKER CERTIFIED SOLUTION
Avatar of nasserd
nasserd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jana

ASKER

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?
SOLUTION
Avatar of Dana Seaman
Dana Seaman
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jana

ASKER

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
Avatar of jana

ASKER

I went thu your link, its kinda complicate for just setting the Icon, but we'll keep trying
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

Avatar of jana

ASKER

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....
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jana

ASKER

Windows XP Pro Sp2

I download yout ICO, still "Invalid Picture"



SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jana

ASKER

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
Avatar of jana

ASKER

prior to
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.  
Avatar of jana

ASKER

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?
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.
Avatar of jana

ASKER

Ok...let me try reinstall SP6
Avatar of jana

ASKER

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.
Avatar of jana

ASKER

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.
Avatar of jana

ASKER

Thanx to all