NighaŽe
Sep 30th, 2002, 05:51 AM
Hi,
I made a small tool using a Tray Icon.
Now i want to change the icon, using icons loaded into a ImageList Control.
How can i convert the pictures to Icons.
The only way i found to change the icon is:
Private _IconActive As System.Drawing.Icon = New System.Drawing.Icon(Application.StartupPath & "\Active.ico")
This way i have to copy the icons into my Bin folder.
An other way i try is using the RESX files.
There i have the problem, i can't find a good recourse editor to add the needed icons to the resource file.
Other sollutions are also welcome :)
I made a small tool using a Tray Icon.
Now i want to change the icon, using icons loaded into a ImageList Control.
How can i convert the pictures to Icons.
The only way i found to change the icon is:
Private _IconActive As System.Drawing.Icon = New System.Drawing.Icon(Application.StartupPath & "\Active.ico")
This way i have to copy the icons into my Bin folder.
An other way i try is using the RESX files.
There i have the problem, i can't find a good recourse editor to add the needed icons to the resource file.
Other sollutions are also welcome :)