VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



IPCONFIG (VB)

by MicroVB INC (5 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

Returns all Information about all Network devices in the computer (even Virtual ones like the PPPoE Adapter for DSL connections). Displays IP address, dns servers, wins servers, host name, etc...

Inputs
This code works under Windows 3.11, Windows 95, Windows 98, Windows NT, Windows 2000. Using Visual Basic 6.0 (no service packs).
Assumes
As this code returns everything to message boxes, it will be easy for you to modify it to use in your application.
API Declarations
Public Declare Function GetNetworkParams Lib "IPHlpApi" (FixedInfo As Any, pOutBufLen As Long) As Long
Public Declare Function GetAdaptersInfo Lib "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)

Rate IPCONFIG (VB)

Download IPCONFIG (VB)

Download IPCONFIG (VB) (3 KB)

IPCONFIG (VB) Comments

No comments have been posted about IPCONFIG (VB). Why not be the first to post a comment about IPCONFIG (VB).

Post your comment

Subject:
Message:
0/1000 characters