Solved

Putting my Screen Saver as the default

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…

705 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

20 Experts available now in Live!

Get 1:1 Help Now