Solved

Putting my Screen Saver as the default

Posted on 1998-11-06
5
263 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

825 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