Visual Basic .NET » Smart Device Application
Windows Forms in XP with VS 2005 -- JoeEnos --


I finally found the answer to this problem. It turns out that by default, Visual Studio uses these old 2000 style controls. In order to update to the XP style controls, you just need to add the following line to your startup form prior to initializing the components:

System.Windows.Forms.Application.EnableVisualStyles();

This only needs to be run once, and it spills over to all other forms that will be opened.

[Submit Comment]Home