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

Click here to load this message in the networking platform