Solved

Putting my Screen Saver as the default

Posted on 1998-11-06
5
282 Views
Last Modified: 2013-11-13
I have created my screen saver and to distribute the software i have used the application setup wizard also.  Now while it installs i want my screen saver to be the current one removing the already existing screen saver. How to do this in VB5.0.

0
Comment
Question by:raguram
[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
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:chris_a
ID: 1443475
Set this setting in system.ini,

[boot]
SCRNSAVE.EXE=C:\WIN95\SYSTEM\CURVES~1.SCR
0
 

Author Comment

by:raguram
ID: 1443476
I can change the setting manually. My question was how to change while installing. If i have to change the code in system.ini
[boot]
SCRNSAVE.EXE=C:\WIN95\SYSTEM\CURVES~1.SCR

where should i write the code. All the above should be done while the software is being installed. Will the same code run effectively for win '95, win '98 and Win NT 4.0. ??
0
 
LVL 2

Expert Comment

by:chris_a
ID: 1443477
If your setup program (the thing shipped with VB?) cannot do it, have a look at another, I use Wise which can do it, I guess some of the freeware install programs around will do it.
0
 

Author Comment

by:raguram
ID: 1443478
So according to your statement i cannot make any changes like adding some directories to the PATH variable in autoexec.bat or  some changes to the config.sys file.

If i can't do it from VB setup wizard itself then how can i distribute my software. Can you suggest some freeware Setup wizard software and the site where i can download them.
0
 
LVL 14

Accepted Solution

by:
waty earned 50 total points
ID: 1443479
It is simple, just make the modification in the registry at the following keys :
HKEY_CURRENT_USER
Control Panel\Desktop => SCRNSAVE.EXE
                      => ScreenSaveActive
                      => ScreenSaverIsSecure
                      => ScreenSaveTimeOut
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

724 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