How can I get the name of the NT Domain I'm logged onto?
(Must work under 95 and NT)
Thanks
Printable View
How can I get the name of the NT Domain I'm logged onto?
(Must work under 95 and NT)
Thanks
U can use Windows APIs. try looking at api text viewer in visual basic group.
Srini
Try the registry...Win95 (I'm at home now [Win95] and unfortunately I won't be back to my NT box for two weeks)
HKey=HKEY_LOCAL_MACHINE
SubKey=System\CurrentControlSet\Services\MSNP32\NetworkProvider
Item=AuthenticatingAgent
Hope this helps!
Thanks in advance,
DDan
Do you have the functioncode?