Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Create Shortcuts/Get Desktop Folder
Message
 
À
27/10/2004 11:06:52
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00866766
Message ID:
00955099
Vues:
28
>George--
>
>>The WSH can do this as well, plus retrieve the name of the All User's Desktop.
oShell = CREATEOBJECT('WScript.Shell')
>>? oShell.SpecialFolders("AllUsersDesktop")
>>? oShell.SpecialFolders("Desktop")
>
>I would like to look at the contents of an existing shortcut (especially the Target). Is there any way to do this (I am using Win 2K)?
>
>Thanks.
>
Tim,

If you use the CreateShortCut() method, if the short already exists, you get a reference to it that you can manipulate. See the October, 2000 issue of the VFUG newsletter. It's available on-line at www.vfug.org. My late friend Ed Rauh and I discuss this in that issue.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform