Hi,
I use SYS(0) to return a user's Network logon and computer name.
I have also been using it on stand alone computers and, with a little decoding in my program it has worked fine until now. Someone had a problem that requried a restart and after they had re-started, SYS(0) is returning a blank as the username although my user tells me that then entry in HKEY_LOCAL_MACHINE\Network\Logon still reads what it should!
So does anyone know where SYS(0) looks in the registry?
Thanks,
Stewart
I use SYS(0) to return a user's Network logon and computer name.
I have also been using it on stand alone computers and, with a little decoding in my program it has worked fine until now. Someone had a problem that requried a restart and after they had re-started, SYS(0) is returning a blank as the username although my user tells me that then entry in HKEY_LOCAL_MACHINE\Network\Logon still reads what it should!
So does anyone know where SYS(0) looks in the registry?
Thanks,
Stewart