XP Color Scheme

Posted on 2009-04-20
Last Modified: 2013-11-27
Can I change Windows XP (SP2) Style and color scheme at time of VB.Net code execution and restore as it was originally before the execution after the execution completed? I am working on VB.Net 2008 Express Edition
Question by:Amitava_Mukherjee
    LVL 53

    Accepted Solution

    Are you sure that you want to do this ? If you changed my system color theme I would uninstall your application immediately and be quite angry with you.

    What if the user is using the classic theme because they don't like the XP visual styles? What if the user has poor vision and needs the high contrast theme? What if the user is using Windows Vista and doesn't have the Silver theme? In the end, to make your application run without crashing you'll have to give up in many cases anyway.

    If you don't want your colors to change when the system colors are different, set the colors to what you want them to be.

    Some coding examples:
    Detecting XP Themes

    XP theme application- Make a different style!

    Enabling XP Themes in your .NET Applications

    Visual Basic .NET Code Sample: XP Theme Support

    Author Closing Comment

    Yes, you are right. probably I am thinking in the wrong way. Thankx for your comments and solutions.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now