Solved

Restore Display Settings

Posted on 2000-03-07
1
113 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 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