On 17 Apr, 08:16, "RobinS" <Rob...@NoSpam.yah.nonewrote:
Can't you load the icon by adding it to your resources file, and then
access it?
Robin S.
--------------------------"James Arnold" <jar...@gmail.comwrote in message
news:11**********************@b75g2000hsg.googlegr oups.com...
Is there any way to set the forms icon to one stored in the resources
at design time? Currently I am using the following code in the
FormLoad event to set it at run time:
Me.Icon = My.Resources.FormIcon
You can set images in resources to buttons and pictureboxes etc at
design time, why not icons?
No, unlike with PictureBoxes and Buttons where you can select from the
list of current resources, when you click the "..." for the icon it
just shows a browse window to import an icon, which is saved in the
form's resx file and not the projects resources.
If you have an icon in the resources you can set it as the project
icon in the My Project tab, but not as the form icon.