Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Domain Name

Status
Not open for further replies.

abdullauthan

Programmer
Apr 20, 2000
64
0
0
SA
Is there any APIs to get the NT Domain name??? [sig][/sig]
 
Haven't tested this but should return a lot of info about network resources including domain name..

Private Declare Function WNetEnumResource Lib "mpr.dll" Alias "WNetEnumResourceA" (ByVal hEnum As Long, lpcCount As Long, lpBuffer As NETRESOURCE, lpBufferSize As Long) As Long

[sig] <br>
<br>
<br>
********Byte me ********[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top