Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Create Shortcuts/Get Desktop Folder
Message
De
28/10/2004 00:04:56
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:
00955149
Vues:
36
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")
The implication of this that if Suzie logs in to XP (Suzie is just a regular user, not an administrator) and runs my VFP EXE, the EXE can create/modify shortcuts in the ALL User's Group. As I understand it, regular user Suzie cannot open Windows Explorer in XP and see the folder that has the icons for all users. All non-administrator Suzie can do without WSH/my VFP EXE is create/modify her shortcuts.

Am I right?

Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform