Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows start up
Message
De
09/05/2000 14:15:56
 
 
À
09/05/2000 09:40:25
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00367611
Message ID:
00367755
Vues:
21
>I am developing a background program that is tracking the clock which needs to start on windows start up. The program will be distributed to a wide number of users. How do I associate the programm with the Windows startup during the installation process?

When do you need it to start, and what is the target O/S?

You have several mechanisms available to you, depending on what OS is running and when the program is started.

If the program needs to be started before any user has logged in, you have no choice other than to create a registry entry to start the program by creating a value for a RunServices key to start it. Win9x does nothing special with a service (as opposed to any other software) other than to start it before login; NT and 2K have special operational requirements for services that are very likely to make problems when trying to run a standard app as a service.

If the application needs to be started after login, a wider range of choices are available. You can create a Run registry key, or you can create a shortcut and drop it into the StartUp folder for users. In both cases, be aware of the user environment - it will matter under NT and 2K in all cases, and may make a difference under Win9x if user profiles are enabled.

In a network environment, you can also use the login script for NetWare or a server-based MS network to run an application during the login process.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform