I am trying to retrive a username from the registry in windows xp. We are on a Novell network.
I used the following but it doesn't work.
tName = QueryValue("HKey_Current_UseR\Volatile Environment", "NWUSERNAME"
Me![txtClosed] = tName
Me![Date Closed] = Now()
This use to work in Windows 98, the only difference being:
tName = QueryValue("Network\Logon", "NetWareUsername"
They KEY Network\Logon no longer exists in XP.
I used the following but it doesn't work.
tName = QueryValue("HKey_Current_UseR\Volatile Environment", "NWUSERNAME"
Me![txtClosed] = tName
Me![Date Closed] = Now()
This use to work in Windows 98, the only difference being:
tName = QueryValue("Network\Logon", "NetWareUsername"
They KEY Network\Logon no longer exists in XP.