Click here to get back home

How to set Screensaver from an Application?

 HomeNewsGroups | Search | About
 microsoft.public.windows.mediacenter    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to set Screensaver from an Application? Yavuz Bogazci 07-06-2005
Get Chitika Premium
Posted by Yavuz Bogazci on July 6, 2005, 3:19 am
Please log in for more thread options
Hi,

i wanted to know, how to set a Screensaver programmatically? I mean where
must i set wich parameters? Registry?

Thank you
Yavuz Bogazci


Posted by Doug Knox MS-MVP on July 7, 2005, 3:49 am
Please log in for more thread options
Screen saver settings are per user.

In the Registry:

HKEY_CURRENT_USER\Control Panel\Desktop

ScreenSaveActive
REG_SZ
Value of 1 or 0 (0 is Off)

ScreenSaverIsSecure
REG_SZ
Value of 1 or 0 (0 does not require a password to resume)

ScreenSaveTimeOut
REG_SZ
Value in seconds to wait for the screen saver to kick in

SCRNSAVE.EXE
REG_SZ
Path to the screen saver executable.

I don't know if any other API calls would be necessary to refresh the system, to
tell it to use the new screen saver or not. I would assume so.


--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

> Hi,
>
> i wanted to know, how to set a Screensaver programmatically? I mean where
> must i set wich parameters? Registry?
>
> Thank you
> Yavuz Bogazci


Posted by Robert Schlabbach on July 7, 2005, 3:00 pm
Please log in for more thread options
> i wanted to know, how to set a Screensaver programmatically?
> I mean where must i set wich parameters? Registry?

Have a look at this:

http://www.pcmag.com/article2/0,1759,1165550,00.asp

Regards,«
--
Robert Schlabbach
e-mail: robert_s@gmx.net
Berlin, Germany




Similar ThreadsPosted
Screensaver in MCE? December 3, 2005, 5:42 pm
MCX screensaver? December 22, 2005, 5:31 pm
MCX Screensaver Gone January 2, 2006, 3:35 am
Screensaver April 18, 2006, 10:27 pm
screensaver September 6, 2006, 3:19 pm
Screensaver and MCE December 23, 2006, 7:54 pm
Screensaver December 25, 2006, 2:31 pm
screensaver January 22, 2007, 4:20 pm
XP Screensaver February 3, 2007, 12:39 pm
Screensaver February 18, 2007, 5:15 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap