Does Anyone Know How To save a Bitmap as a Icon (*.ICO) File?
Thanks,
Slammer_1987@Engineer
Printable View
Does Anyone Know How To save a Bitmap as a Icon (*.ICO) File?
Thanks,
Slammer_1987@Engineer
Here's a small trick you can use
- Make a Form with 2 PictureBox's
- Load a BMP file in Picture1
- Load Picture1 into an ImageList
- Use the ExtractIcon method to set the MouseIcon of a hidden Control to our BMP (Which is now in the ImageList)
- Load the hidden Control's cursor into Picture2
- Use the SavePicture method and save it as an Icon.
This is a little sneaky way of doing it but it works well.
you know what would be nicer, if you just made that program and posted a link
No, Meg did just add those bullets and everything, i think he have pictured and explained everything very well
Thanks, Kedaman.
As for you, CtrlAltDel, What part of that don't you get?
o, i get it, dont worry...just thinkin of an app for you to make, a quick little .ico maker
Well, actually I have made it. I have stumbled apon this last year sometime and created it then.
Where do I get the ImageList object?
It's in that huge comctl32 ocx, you can add it by pressing Ctrl+T and select Microsoft Common Control 5.0 or 6.0
The icon is usually under the Progress Bar and it look like 3 white boxes stacked on top of each other.