Retrieve the Domain Name Using Active Directory Services
Author:Intelligent Solutions Inc.
Tested on Windows 2000 RC 1. May require change in future versions.
Instructions: Copy the declarations and code below and paste directly into your VB project.