Thread: EnableVisualStyles

  1. #1

    EnableVisualStyles

    I'm using Visual Studio.NET 2002 with the .NET Framework v1.1, is there any reason why Visual Studio won't let me use Application.EnableVisualStyles(), it tells me 'System.Windows.Forms.Application' does not contain a definition for 'EnableVisualStyles'. I am trying to use this in the code created by the Project Wizard for a C# Windows Application with no code changed except for adding the line.

    Thanks for the help, and I hope someone has the answer to my problem.
    Give me a bad reputation!!!

  2. #2
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    I added one of the lines to my code and I didn't have any problems. Then again I use a text editor and batch files to process my code.

Popular pages Recent additions subscribe to a feed
Website Security Test