CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Determine the domain controller

    How can I get the name of the domain controller I'm loggin on to? We are using an environment with 2 domain controllers, and in order to get the mapping right, I need to find out which domain controller I'm using.
    Any help in welcome.


    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: Determine the domain controller

    refer http://vblib.virtualave.net, there is a function GetNetParam in vbNetwork of the activeX DLL, do not if it will help.

    HTH


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured