Bulk Un/Register DLLs & OCXs (VB Script)
Version Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic Script
this is a .vbs script...which you can easily convert to a vb exe. You also need to change the hard-coded paths in the script to suit your needs.
Instructions: Copy the declarations and code below and paste directly into your VB project.