Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add program in the startup folder
Message
De
23/04/2002 12:41:57
 
 
À
23/04/2002 12:15:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00648243
Message ID:
00648273
Vues:
24
>how can i add program in the startup folder from vfp ?

The simplest way is to use the WSH Wscript.Shell CreateShortcut object; there have been numerous articles here on UT on this, as well as coverage in the 5 part article that George Tasker and I did for the VFUG newsletter (www.vfug.org) a while back. There are numerous discussions of the Wscript.Wshell object in the various entries in my .sig block as well.

George also created a .DLL that could be added to a system that could be accessed via DECLARE...DLL without the presense of WSH 2.0 or later on the target machine; it can be downloaded from the Files section here on UT. There's excellent documentation included with his File download.
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