[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Screen Saver Description

Posted on 2001-08-23
7
Medium Priority
?
242 Views
Last Modified: 2012-05-04
Hi

I have written a screen saver app. The only thing left is to get Windows to display the correct description in its dropdown list. When I go to Display Properties, Screen Saver, my screen saver is always displayed as its file name (excluding .scr).

For example, if my screen saver's file name is "HelloBob.scr" then it appears in Windows' list of screen savers as "HelloBob".

How can I give my screen saver a description that is different from its file name?  (Example: The "Beziers" screen saver's file name is actually "ssbeziers.scr".)

Thanks,
JB
0
Comment
Question by:JimBob091197
[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
7 Comments
 
LVL 6

Expert Comment

by:MannSoft
ID: 6417908
I was told to use:

{$D SCRNSAVE My Screen Saver Description}

But it doesnt seem to work on Win2k.  So either the person who told me that was wrong, or it only works on Win9x systems I guess.
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6418065
http://community.borland.com/article/0,1410,26652,00.html says that it's enough to create a string resource with ID 1
0
 
LVL 8

Accepted Solution

by:
TOndrej earned 450 total points
ID: 6418081
http://www.wischik.com/scr/howtoscr.html says that the above is only for WinNT. According to the article, on Win9x you should use a long file name
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6418144
maybe this link help

Coding Windows Screen Savers with Delphi.
http://delphi.about.com/cs/screensavers/index.htm
0
 
LVL 5

Author Comment

by:JimBob091197
ID: 6420963
Thanks everybody for your feedback.

To Mannsoft:

I have tried using {$D SCRNSAVE My Description} but it doesn't seem to work. Based on VC++ samples I found, I have also tried the following:

{$D SCRNSAVE 'My Descrip'}
{$D 'SCRNSAVE : My Descrip'}

None of these seem to work.


To TOndrej:

Thanks for the links. I am working on Win 2000, but have 98 at home, so I will test it later on 98. It appears that Win 95 (98?) & NT (2000?) work differently, which is a pity. I have considered using the file name as the description, but I would like a space in the file name and Delphi doesn't allow a space in your DPR name, which means that I have to keep renaming the screen saver every time I do a build.

I have tested it on Win 2000 and it does indeed work if you create a string resource 1 with a string of less than 25 chars. Also it only works if your screen saver file has 8 or less chars, and it must be lower case! Strange...


To Mnasman:

I had a brief look at the link you gave, but couldn't find anything about screen saver descriptions.


Thanks,
JB
0
 
LVL 5

Author Comment

by:JimBob091197
ID: 6420970
Thanks.
JB
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6420992
Glad to help, thanks for the points
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

656 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