Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create short cut
Message
De
31/03/1999 15:36:09
 
 
À
31/03/1999 14:54:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00204008
Message ID:
00204020
Vues:
26
>When I create Setup file by setup wizard ,after running setup I want to create Short cut on desktop for my program . Did any body tried in Visual Foxpro.

There are several methods to do this. George Tasker has released a wrapper .DLL for the IShellLink API that creates and modifies shortcuts; it can be downloaded from the Files Section here on UT. It's fairly complete.

There are also OLE Automation components that will do this. My preference is to use the Windows Scripting Host's Wscript.Shell object, which has a CreateShortcut method that gives full access to the API, as well as providing a great deal of additional functionality. The Windows Scripting Host is built into Win98 and WinNT5/Win2K; it's installed as a part of IE4 and IE5, and a freely redistributable self-installing executable can be downloaded from Microsoft's web page http://msdn.microsoft.com/scripting
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