Get a List of All Disabled User Accounts in AD
Version Compatibility: Visual Basic 6, Visual Basic Script
The included script is a little terse, but gets you a list of all the disabled accounts in active Directory. The TechNet article on "Reading user account attributes" will help decipher some of it.
Instructions: Copy the declarations and code below and paste directly into your VB project.