I need help converting an image to a valid icon.
I can save the image as an Icon, no problem. BUT, when I try to use this Icon for it's intended purpose (just as either a project icon, or shortcut icon) .. an error appears telling me it is not a valid icon.
Any solutions? Ideally without needing extra DLLs that would have to be included with my project, but if that's what it requires then so be it.Code:Dim bmp As New Bitmap(Path & shortLabel & "\" & imgName) bmp.Save(Path & shortLabel & "\newIco.ico", System.Drawing.Imaging.ImageFormat.Icon)
Thanks for your time.




Reply With Quote
