Solved

Restore Display Settings

Posted on 2000-03-07
1
112 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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

763 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

9 Experts available now in Live!

Get 1:1 Help Now