Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About Lnkfiles.dll of George Tasker
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00210643
Message ID:
00210782
Vues:
42
>>If found this LnkFiles.dll vary nice. I start using it for a small job and it work fine.
>>
>>I do have a question for George or nany one that know. How can I get the global desktop folder for Win NT 4.0. When I use the FindDesktopFolder() function it return me the user profile desktop folder. I want to set the link file in the global desktop folder. This way any user will have access to the link file.
>
>Hi Jean-Rene,
>
>Unfortunately, I didn't include the ability to retrieve the Common Desktop folder. It would have to be an added function. If I can find the time, I'll see if I can add this. However, I won't have any way to test it. If I do get it added I'll post back.

The magic solution, as usual, is to use the Windows Scripting Host! The Wscript.Shell object has a SpecialFolders collection, and one of the items in the collection is the AllUsersDesktop...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform