Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating desktop shortcut for distributed apps
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00155399
Message ID:
00155409
Vues:
20
>Joy,
>I have a routine for creating a group/shortcut, for access on the Start Menu/Programs. I haven't figured the desktop one out, though.

Take a look at the Windows Scripting Host; the Automation Object Wscript.Shell provides access to the IShellLink API that manipulates shortcuts and the Windows Special Folders, so it's easy to create shortcuts on the Desktop as referenced in the SpecialFolders collection.

>Mark
>
>>Does anyone know how to create a desktop shortcut for distribution? Automating it, that is, as in the install disk.
>>
>>Thanks,
>>
>>Joy C. Tan
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