George,
I think that is exactly what I am looking for. I would appreciate it if you could post the code.
Thank you very much and thank you for your patience.
>>George,
>>
>>Thanks for your response. I'm looking for a way to determine the folder where the user's profile is located. For example on my machine it is located in C:\WINNT\Profiles\(username). I am trying to determine this info while in a VFP application. I want to store user info for whichever user is logged on to the machine.
>>
>>Thanks again.
>
>Well, there's the API call (which I've never used, BTW) called GetUserProfileDirectory(). There's more to this, however, than simply calling this function. You have to first get handle to a token for the user.
>
>There's also GetDefaultUserProfileDirectory(). This is much simpler to use. If this would be acceptable, I'd recommend going with that. If you'd like I can post some code to access these functions.
Lamar Glover
DP Manager, Southeastern Apparel, Inc.