Dear All,
I have developed an application in windows2000 where i include
Application.EnableVisualStyles();
in C#.But the icons on the buttons of
the toolbar doesnt appear in WindowsXP when this line is included.But
it works in other OS such as WindowsServer2003
When that line (Application.EnableVisualStyles()) is commented icons are appearing in WindowsXP
Any help is appreciated
Thanks

Application.EnableVisualStyles()
Mardo
This is a bug in .NET 1.1.
Have a look at the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8021&SiteID=1
mgaur
Application.DoEvents(); should help in this case.
-Jay