Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Shortcut Item on Desktop
Message
De
05/09/2001 13:34:21
Ronald Suen
Epic Solutions Inc.
Edmonton, Alberta, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00552613
Message ID:
00552682
Vues:
17
>>How do I go about creating a shortcut on the desktop regardless of the Windows version? I am building a custom installation program which requires adding a shortcut on the desktop. I've done some researching in the MSDN website but I found their solutions a little confusing. Any help would be appreciated.
>>
>>Thanks in advance,
>
>One of two ways come to mind. The first would be to use the Windows Script Host's WScript.Shell object. It exposes methods and properties that'll return the current desktop folder, and create the short cut link. See the second of the series of articles that Ed Rauh and I wrote on the WSH in the VFUG newsletter. The article appeared in last October's issue. The series began in the September issue, and is available on-line at www.vfug.org.
>
>The second is to use something like my "Short Cut Link Files" dll (lnkfiles.dll). It's available in the download section here at the UT, and like the WSH, gives you the functionality to do this. It comes with a help file in VFP syntax that can be copied and pasted into your code.

I was wondering if this "Short Cut Link Files" dll creates the shortcut for all users in a Win NT/2000 environment? The help file doesn't seem to have that information.

Thanks in advance,
Ronald Suen
Epic Information Solutions Inc.
Ph: (780) 488-4418
Fax: (780) 488-0402
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform