I am changing the icon by doing the following in the Main form:
this.Icon = myIcon;
And this works fine in Windows 7 except when I "pin" the application to the taskbar, this seems to have no effect on the taskbar icon and only affects the top/left of the window icon.
How do I ensure that I can change the application taskbar icon as well in Windows 7 without having to use Windows 7 Icon overlays as that will just be overlaying another graphic on the icon but not changing the main icon?