c# – Compatibility settings – Education Career Blog

I’m working on a troubleshooting program, which will help users to fix certain errors caused by.. all sorts of things.

Anyway, one of the features I want it to have, is change a program’s compatibility mode to windows XP mode without Visual Theme’s. But I couldn’t find anything.

So I’m just wondering if this is possible?

Thank you in advance.


Check out Application.EnableVisualStyles().


You can right click on your program (.exe) and select Properties. Once properties dialog is open, look for Compatibility tab. Select it and check “Compatibility Mode” check box and select Windows XP from drop down list. That should run your .exe in Windows XP compatibility mode then. HTH

Leave a Comment