VB.NET 2003 but Application.EnableVisualStyles() doesn't work [RESOLVED]
i have vb.net 2003, and i wanted to have xp look on my app. so i did a search and found out that if i had 2003, i could just put Application.EnableVisualStyles() under InitializeComponent().
so this is what i have:
VB Code:
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
Application.EnableVisualStyles()
'Add any initialization after the InitializeComponent() call
End Sub
...
...
but that didn't do anything. i just used manifest and had a button and a progressbar on a form, and the progressbar had the xp look but the button had the classic look.
i have no idea why Application.EnableVisualStyles() or only the progressbar had the change in looks. can anyone help me out?
EDIT:
hmm. odd. i opened a different project and used Application.EnabledVisualStyles() and it worked.. but only the progressbar and tabs. buttons, radiobutton, check boxes stayed the same. oh the scrollers changed too.
is this normal?
Last edited by nahya^^; Mar 10th, 2004 at 10:34 PM.