Solved

Putting my Screen Saver as the default

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now