IContactsGetFirst Method |
Namespace: SuperOffice.COM.SuperOfficeDB
GetFirst
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Dim Cont Dim Conts Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then set Conts = objSO.Database.Find.ContactsByName(�SuperOffice�) Cont = Conts.GetFirst() While Not Conts.EOF msgbox Cont.Name Cont = Conts.GetNext() wend msgbox "No contacts.", vbInformation, "SuperCOM" else MsgBox "Unable to connect to database" end if set objSO = Nothing