List your Dial-Up Networking Services

Category:
Network/Internet
Type:
Snippets
Difficulty:
Intermediate
Author:
Stefan

Version Compatibility: Visual Basic 5

More information:
List all your DUN Services in a String Array. Newsgroup posting from Roland Siegert, in microsoft.public.de.vb.

Usage Example:

Dim sArray() As String
Dim iCtr As Integer
DUN_Services sArray

For iCtr = 0 To UBound(sArray)
  Debug.Print sArray(iCtr)
Next

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: