Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Create Shortcuts/Get Desktop Folder
Message
 
À
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:
00955527
Vues:
22
>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,

I believe so, but am not sure. I've only worked on machines that I have full administrator rights to.

I believe, however, that this is the case based on my limited knowledge of Windows security policies.
George

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

Click here to load this message in the networking platform