Obtaining who the PC is registered to

Is there an API or VB class that will allow me to query a PC for the company or person the computer is registered to? It is located in the registery?
[149 byte] By [Jim Bassett] at [2007-11-20 0:40:15]
# 1 Re: Obtaining who the PC is registered to
Hello Jim! :wave:

Have a look at the attachment.

Hope it helps!
HanneSThEGreaT at 2007-11-9 19:57:01 >
# 2 Re: Obtaining who the PC is registered to
In vb6-sp6 on windows xp-sp2 it returns empty textboxes
jggtz at 2007-11-9 19:58:01 >
# 3 Re: Obtaining who the PC is registered to
Hello jggtz!
I don't know which sp I have for VB 6, but on my XP sp 2 I did get the username.
Can someone else please confirm if they found any problems as well.
It worked on mine..
HanneSThEGreaT at 2007-11-9 19:58:58 >
# 4 Re: Obtaining who the PC is registered to
Came up correct on my system.

vb 6 sp6
WinXP SP1 with all patches
sotoasty at 2007-11-9 19:59:57 >
# 5 Re: Obtaining who the PC is registered to
Thanx for confirming that sotoasty!
I was a bit worried..
HanneSThEGreaT at 2007-11-9 20:00:55 >
# 6 Re: Obtaining who the PC is registered to
Thank you guys for replying to my post and I apologize for not reposing until now but I haven't been able to access the forum section of dev-archive from my regular PC I use. There is still a problem with accessing from my regular PC I get the message that no such page exists but I can access from another PC. I have no problem accessing other pages on CG or other websites just the forum page of CG.

Thank you HanneSThEGreaT the code works fine.
Jim Bassett at 2007-11-9 20:01:59 >
# 7 Re: Obtaining who the PC is registered to
You're welcome Jim!
And Good luck with your PC!
HanneSThEGreaT at 2007-11-9 20:02:58 >