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

#7955
Support 3
Participant

    Please see “Address Book Control” in GroupWise ActiveX API for available methods: http://developer.novell.com/documentation/gwactive/index.html?page=/ndk/doc/gwactive/gwax_enu/data/bktitle.html

    Follwing code will return the target type (TO, CC, BC) of the selected contacts.

      
      dim iText
      dim iCounter
    
      iCounter = MainDlg.oGWAB.Count
    
      for x = 0 to iCounter - 1
        iText = iText & MainDlg.oGWAB.EMailAddress(x) & " (target type: " & MainDlg.oGWAB.TargetType(x) & ");"
      next
    
      msgbox iText
    

    Regards,
    Advansys Support