Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way in VFP to determine the windows profile..
Message
From
23/02/2004 15:15:17
Lamar Glover
Southeastern Apparel, Inc.
Dothan, Alabama, United States
 
 
To
23/02/2004 15:07:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00880042
Message ID:
00880062
Views:
18
Alex,

Not exactly. That returns the current foxuser.dbf. I am looking for a function or routine that will return something similar to the following:

C:\WINNT\Profiles\Administrator

My application is not located in this folder. It is located in C:\Myapp
In my case sys(2005) would return C:\Myapp\foxuser.dbf.

I apologize if I am not making a lot of sense.

Thanks again.
>>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.
>>
>>>>for the current logged in user. We are using VFP7 SP1 on boxes running WinXP Pro. Is there a VFP function or API call that returns folder location?
>>>>
>>>>TIA
>>>
>>>You mean beyond CURDIR(), SYS(5) + SYS(2003)?

>
>Something like Sys(2005) ?
Lamar Glover
DP Manager, Southeastern Apparel, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform