home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 3195
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- LinkTopic = "Form1"
- ScaleHeight = 3195
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Form_Load()
- Set adsErr = CreateObject("ADsError")
- On Error GoTo ReportErr
- Set rec = GetObject("LDAP://DC=ArcadiaBay, DC=Com")
- '.... more code here....'
- Exit Sub
- ReportErr:
- Debug.Print Err.Number
- MsgBox adsErr.GetErrorMessage(Err.Number)
- End Sub
-