Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows API Call for the users Home Path
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01197119
Message ID:
01197143
Views:
22
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform