VERSION 5.00 Begin VB.Form Form1 Caption = "Form1" ClientHeight = 4290 ClientLeft = 60 ClientTop = 345 ClientWidth = 7770 LinkTopic = "Form1" ScaleHeight = 4290 ScaleWidth = 7770 StartUpPosition = 3 'Windows Default Begin VB.CommandButton Command1 Caption = "Enum" Default = -1 'True Height = 495 Left = 6240 TabIndex = 1 Top = 120 Width = 1455 End Begin VB.ListBox List1 Height = 2985 ItemData = "Wnet.frx":0000 Left = 120 List = "Wnet.frx":0002 TabIndex = 0 Top = 120 Width = 6015 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Command1_Click() Dim nr As NETRESOURCE List1.Clear doEnum 0, nr End Sub