List All Available IP Addresses For A Windows Machine

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic Script

More information:
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.

Declarations:

Code: