After reading this & other threads, this is what I have come up with:
\\\
<System.STAThread()> _
Public Shared Sub Main()
If OSFeature.Feature.IsPresent(OSFeature.Themes)Then
System.Windows.Forms.Application.EnableVisualStyles()
End If
System.Windows.Forms.Application.Run(New Form1)
End Sub 'Main
///
I put this code directly underneath the "inherits" section of the Form1
Class. Another thing I found was that you need to set the "FlatStyle"
property on all your controls to "System", otherwise it won't work.
I haven't tried it on anything other than WindowsXP & Server 2003.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!