You can create a new user in Active Directory with this code.
VB Code:
  1. Dim adObj As Object
  2. Dim adUser As Object
  3. Set adObj = GetObject("WinNT://Domain")
  4. Set adUser = adObj.Create("user", "RobDog888")
  5. adUser.SetInfo
  6. Set adUser = Nothing
  7. Set adObj = Nothing