Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Create Shortcuts/Get Desktop Folder
Message
From
28/10/2004 00:04:56
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00866766
Message ID:
00955149
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform