Control Visual Interface
Visual Studio
3
Posts
3
Posters
0
Views
1
Watching
-
Now i am using Visual studio 2005. in design time all controls displayed in Xp style, in run time it looks like win 2000 style. what is the problem? please advice..
-
Now i am using Visual studio 2005. in design time all controls displayed in Xp style, in run time it looks like win 2000 style. what is the problem? please advice..
Hi Check if this line of code exists to enable XP styles:
Application.EnableVisualStyles();
It won't have the XP style on win2000 and 98,ME -
Now i am using Visual studio 2005. in design time all controls displayed in Xp style, in run time it looks like win 2000 style. what is the problem? please advice..
just to clarify, the Application.EnableVisualStyles() should go in the program's Main() method