List All Available IP Addresses For A Windows Machine
Version Compatibility: Visual Basic 6, Visual Basic Script
Start a new WinForm application and to your project, add a reference to the Microsoft WMI Scripting 1.2 library. Copy and paste the code below and run your program.
Instructions: Copy the declarations and code below and paste directly into your VB project.