IUrlsExists Method |
Namespace: SuperOffice.COM.SuperOfficeDB
Exists
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
This will test whether the current contact has any URLs at all.
Dim objSO Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then if objSO.CurrentContact.Urls.Exists (1) then MsgBox "The current contact has registered one or more URL�s" else MsgBox "The current contact has no URL�s registered" end if else MsgBox "Unable to connect to database" end if Set objSO = Nothing