Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows API Call for the users Home Path
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01197119
Message ID:
01197143
Vues:
27
This message has been marked as the solution to the initial question of the thread.
See How do I retrieve special folders without relying on Shell.Application? FAQ #16115 and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/enums/csidl.asp

>I was using the environment var TEMP for the location of the users temp dir but sometimes it was wrong. I have since changed to using the API call and that seems to be more reliable.
>
>I now need to get the location of the users HOMEPATH. I looked all over and there does not seem to be an API call for it. It looks like I can trim down the temp path till I get to the user name but does anyone have a better way?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform