Solved

Set a screensaver

Posted on 1997-12-13
4
206 Views
Last Modified: 2012-05-04
Hi,

I want to find out which screensaver is currently set in Win95 and set it to another one, does anyone know how ?

Thanks !
0
Comment
Question by:michaelsanders
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Expert Comment

by:ronit051397
ID: 1353527
Try to use the WM_SYSCOMMAND message.
0
 
LVL 4

Accepted Solution

by:
d003303 earned 50 total points
ID: 1353528
Hi,
the current ScreenSaver is stored in the system registry.
Have a look at \HKEY_CURRENT_USER\Control Panel\Desktop.
The string value SCRNSAVE.EXE aliases to the complete path of the ScreenSaver executeable.
You can read and modify the value with a TRegistry-Object.

Have fun !
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1353529
This can be handy if you want to know everything about screensavers!

For ScreenSaver documentation, see Lucian Wischik's Page at...

http://classic.physiol.cam.ac.uk/scr/SCRB_TEC.HTM or
http://classic.physiol.cam.ac.uk/scr/SCRB_GEN.HTM

For sample sources, download Meik Weber's Saver from...

http://sunsite.icm.edu.pl/delphi/authors/a782.htm Hope this helps. Shuji maeda@nn.iij4u.or.jp

Have fun,
Regards,
Zif
0
 
LVL 1

Author Comment

by:michaelsanders
ID: 1353530
I checked out the registry before and now did it again at your specified location, nope, only some settings are there... I mean how long it takes before it should start, the wallpaper etc, but no SCRNSAVE.EXE. I did find this in the system.ini file and it appears to to change when I change the screensave. Maybe I should change that using the TIni object ? AnyWay I checked the site ziffnab proposed and found it should be in the ini file. Thanks ziffnab and d003303 ! CU!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 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