Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way in VFP to determine the windows profile..
Message
 
To
23/02/2004 15:24:11
Lamar Glover
Southeastern Apparel, Inc.
Dothan, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00880042
Message ID:
00880066
Views:
28
>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.

Lamar,

Here's code for the latter function. I haven't been able to figure out a way (yet) to use the former one.
DECLARE INTEGER GetDefaultUserProfileDirectory IN Userenv;
  STRING @lpProfileDir, INTEGER @lpcchSize
lnsize = 260
lcbuffer = SPACE(lnsize)
= GetDefaultUserProfileDirectory(@lcbuffer, @lnsize)
? LEFT(lcbuffer, lnsize - 1)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform