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:
00147570
Views:
38
>>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)
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform