[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Restore Display Settings

Posted on 2000-03-07
1
Medium Priority
?
120 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 20 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month17 days, 15 hours left to enroll

829 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