Showing results for 
Search instead for 
Do you mean 

Custom Mail Merge Addon

New Member
Posts: 6
Country: United_Kingdom

Custom Mail Merge Addon


I am trying to create my own custom mail merge addon for ACT 2013 and I am having problems with choosing the right Visual Basic command to access the Contact Field Descriptors. My code is below, any help would be greatly appreciated.

Private Sub Merge_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
framework.LogOn(PADFile, ACTUserName, ACTUserPassword)
Dim mergeFields = framework.Contacts.GetFieldDescriptor(name:="TBL_CONTACT", isReal:=True)
Dim mergeFieldsList = framework.Contacts(mergeFields)
Dim mergefieldslb As ComboBox = DirectCast(mergeFieldsList.Items, ComboBox)
mergeFieldsList.DataSource = mergefieldslb.Items()
End Sub