/ Forums / Advansys Formativ / Creating Solutions with Formativ / Accessing Information from GroupWise.AddressBookDlg / Reply To: Accessing Information from GroupWise.AddressBookDlg

#7952
Support 3
Participant

    – Add the GWab control to your form (In Formativ Form designer, select GroupWise tab then add the GWab control). Change the name property to “oGWAB”
    – Change the ShowButtons property to “2” which will add the “Ok” button.
    – Double click the “OnOkClick” event and add the following code

      
    Sub testGWab1OkClick(Sender)
    
      dim iText
      dim iCounter
    
      iCounter = MainDlg.oGWAB.Count
    
      for x = 0 to iCounter - 1
        iText = iText & MainDlg.oGWAB.EMailAddress(x) & ";"
      next
    
      msgbox iText
    
    End Sub
    

    Hope this helps.

    Regards,
    Advansys Support