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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the current screen saver 1

Status
Not open for further replies.

hblackorby

Programmer
Feb 13, 2001
164
US
Does anyone know how to change the current screen saver? I assume it's stored in the registry somehwere, but I couldn't find it anywhere. I also checked in the win.ini file just for fun. I'm creating an installer program that will copy the .scr file into the windows/system directory and automatically change the current screen saver in windows to the newly copied screen saver. Like I said, I'm assuming I will have to change a registry entry somewhere, but I looked all over my registry and couldn't find any current screen saver related entry. Please don't tell me how to activate and de-activate my current screen saver. I already know about that registry command.

Thanks!
Harold Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
I know for Win2000:

Look for the following:

Key:

HKEY_CURRENT_USER\Control Panel\Desktop

Underneath this I think you would be interested in the following values:

ScreenSaveActive
ScreenSaveTimeOut
SCRNSAVE.EXE

You will really want the SCRNSAVE.EXE in that its value is the path to the screen saver scr. file.

Hope this is what you were looking for...
 
I'm running Windows 2000 and the path of my .scr file is stored in the reg key

HKEY_CURRENT_USER\Control Panel\Desktop\scrnsave.exe

hope this helps!

Matt
 
I'm more looking at Windows98. There is no scrnsave.exe value in Win98. That folder contains ScreenSaveActive ScreenSaveTimeOut and ScreenSavePassword. I do have a screen saver chosen in my Control Panel too. Anyone else have any ideas? Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
okay, for windows 98 you need to modify the system.ini configuration file in the windows folder.

in the [boot] section you will find the SCRSAVER.EXE setting.

hope this helps... :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top