Hi,
How can I change the form icon from ImageList in VB.NET
Pleases send me a small example
Thanking you in advance
Printable View
Hi,
How can I change the form icon from ImageList in VB.NET
Pleases send me a small example
Thanking you in advance
me.Icon = imagelist1.Images(x)
where x is the index of the image you want to change to and imagelist1 is attached to the form.
Hi,
I test the code and it is not working !
Did you test it ?
VB Code:
Me.Icon = System.Drawing.Icon.FromHandle(CType(ImageList1.Images(x), System.Drawing.Bitmap).GetHicon())
Hi,
Thank you very much,
It is working wonderful.