Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create short cut
Message
De
01/04/1999 15:07:40
 
 
À
01/04/1999 13:37:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00204008
Message ID:
00204416
Vues:
19
>>>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
>
>Hi Ed!
>
>I think George's DLL is the best.
>

I'd agree for people who don't have the WSH available, it's the best alternative - if you have WSH, then there's no advantage to using the .DLL over using Wscript.Shell's CreateShortcut method, in view of other functionality given by Wscript.Shell.

>"Simply the best"
>
>BB
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
Répondre
Fil
Voir

Click here to load this message in the networking platform