Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project Free Downloads
WABAccess Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

Accessing a Contact or a Dl


Contact or Dl are accessing by two way :

  • using the GetElement method of the Session object.
  • parsing the Containers and accessing the entry in the Elements collection. 
Dim objSession, objContact, sId

OpenWab

Set objContact = CreateNewContact( "John", "SMITH" )

' Get the Identifier of the contact
sId = objContact.ID

Set objContact = Nothing

' Get the contact with the Identifier
Set objContact = objSession.GetElement( sId )

MsgBox "The contact is " & objContact.Name

CloseWab

WABAccess