Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does setup wizard create an icon
Message
De
07/07/1999 08:52:32
 
 
À
06/07/1999 21:15:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00237923
Message ID:
00238199
Vues:
17
>>>>Does setup wizard create an icon on the desktop automatically, like alot of professional apps do?
>>>
>>>No, but you can write a post-setup executable to do it, either using George Tasker's LNKFILES.DLL (downloadable from UT) or using rthe Wscript.Shell automation object that's a part of the Windows Scripting Host.
>>>
>>>>This would be convienent.
>>
>>Ed,
>>I have been playing around with the WHS and my question is after I have made my script file it has a ext of .VBS in the setup wizard post-setup executable how do I call my script that I have made.
>>
>
>There's no need to create a VBScript to do it; once the scripting host is installed, you can instantiate the Wscript.Shell object within VFP itself, and access the SpecialFolders collection to find the Desktop, and access the CreateShortcut method to create or modify a shortcut on the desktop in that fashion.
>
>If you wanted to invoke your script, you'd fire it by invoking WSCRIPT.EXE or CSCRIPT.EXE with the name of the .VBS script you created.
>>Thanks Randy

Where can I find more info on Wscript.Shell?

TIA
Claude Gosselin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform