PDA

Click to See Complete Forum and Search --> : How can I set specific screensaver in VB-code


AartsJnr
Feb 21st, 2001, 07:39 AM
I am trying to make an application to copy a new screensaver in the Windows\System directory and make set it to be the defold screensaver. All works but I can't set my screensaver to be the one windows should use. Could anybody tell me how this could be done?

JoshT
Feb 21st, 2001, 09:09 AM
I believe you have to set the appropriate Registry Keys.

Josh

AartsJnr
Feb 21st, 2001, 09:58 AM
JoshT, first of all thanx for your reply.
I thought something like that should be done, so I searched through my Registry. I could not find where these settings were registered though.
Do you, or anyone, has any idea which key has to be set and where to find it?

Lord Orwell
Feb 21st, 2001, 09:27 PM
Sorry to disappoint you, but all of your registry searching is for naught. The screensaver is specified in the system.ini file.

JoshT
Feb 22nd, 2001, 08:41 AM
In NT it sure as heck isn't set in the system.ini. They're under HKEY_CURRENT_USER\Control Panel\Desktop.

Josh

JoshT
Feb 22nd, 2001, 09:01 AM
Actually, I just checked a Win98 machine and it puts the Screen Saver file name in the system.ini and everything else under that registry key...

Josh