>>Does anyone have a sample of getting the user name in VFP 5. I know I have done this before but I simply cannot find the code. Probably did it in something like a:\test.prg then said "Oh, that was easy..." del a:\*.*...
>
>* DECLARE DLL statement to get the user logged into the network
>DECLARE INTEGER GetUserName in WIN32API String @,Integer @
>
>LOCAL lcUser
>lcUser=SPACE(20)
>GetUserName(@lcUser,20)
>lcUser=UPPER(STRTRAN(lcUser,CHR(0),''))
THANK YOU!!!! Its already implimented. Many, many thanks.
~Joe Johnston USA
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams