EnableVisualStyles

This is a discussion on EnableVisualStyles within the C# Programming forums, part of the General Programming Boards category; I'm using Visual Studio.NET 2002 with the .NET Framework v1.1, is there any reason why Visual Studio won't let me ...

  1. #1
    Perverted unanimous's Avatar
    Join Date
    Oct 2001
    Posts
    336

    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21