Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seting the Screen Saver 1

Status
Not open for further replies.

ahhchu

Programmer
Sep 19, 2001
38
US
I am looking for a function to set the current screen saver. I need to change the screen saver defined at startup to my own screen saver. THANKS !!!
 
I have figured this out. In the registry are the following entries:

HKEY_CURRENT_USER\ControlPanel\Desktop\SCRNSAVE.EXE <name.scr>
HKEY_CURRENT_USER\ControlPanel\Desktop\ScreenSaveTimeOut <interval in secs}

change these and the screen saver will be set to your desired settings. In my case I will remember the settings prior to change and restore them as my program shuts down.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top