Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetUserName from a 16 bit program
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147513
Message ID:
00148056
Views:
30
>>>I am trying to obtain the User name from the OS in a Win95 or NT environment from a 16 bit FoxPro (2.6 for windows) program. This is easily done from a 32 bit program using the GetUserName API. Can I address the 32 bit API from a 16 bit program? Or, is there another way of obtaing the User Name from a 16 bit app??
>>
>>ID() function's been around awhile, can you use that?
>
>I didn't even know that function existed. Try bringing up Help for that function "help id()". I get an error: "too many arguments" for "help id()" and "missing expression" for "help id" (VFP5/6)

I guess we now know that that's an old dbase name of sys(0) :)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform