Solved

Restore Display Settings

Posted on 2000-03-07
1
114 Views
Last Modified: 2011-10-03
When the user starts my program I automatically search their current settings and change them to the ones I would like.  How do I restore the users settings when the exit my program?  I don't want the user to change them.  I want them to be set back automatically on program exit.
0
Comment
Question by:arielle
1 Comment
 
LVL 14

Accepted Solution

by:
mcrider earned 10 total points
ID: 2594277
You said "When the user starts my program I automatically search their current settings and change them to the ones I would like..."

All you have to do is save the settings you're changing BEFORE to change them in a public or global variable... Then when you end your program, put them back.


Cheers!®©
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 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