Community
Showing results for 
Search instead for 
Do you mean 
Reply

find all the selected contacts

Accepted Solution Solved
Tuned Listener
Posts: 21
Country: Germany
Accepted Solution

find all the selected contacts

Hi,

 

I would like to check a list of contacts (that is selected by a user in order to send a serial letter) first before initiating the process of generating the letters.

Is there anybody who can help me out with an example in C# or VB that enables me to localize the selected contacts.

 

Thanks,

Alex


Accepted Solutions
Solution
Accepted by topic author Janus
‎09-25-2015 03:20 AM
Bronze Super Contributor
Posts: 1,231
Country: USA

Re: find all the selected contacts

  

Use the application state prperty to read the current contact list

      

ForEach contact As Act.Framework.Contacts.Contact In ACTApplication.ApplicationState.CurrentContactList

        MessageBox.Show(contact.Fullname)

Next

 

-- Jim Durkin

View solution in original post


All Replies
Solution
Accepted by topic author Janus
‎09-25-2015 03:20 AM
Bronze Super Contributor
Posts: 1,231
Country: USA

Re: find all the selected contacts

  

Use the application state prperty to read the current contact list

      

ForEach contact As Act.Framework.Contacts.Contact In ACTApplication.ApplicationState.CurrentContactList

        MessageBox.Show(contact.Fullname)

Next

 

-- Jim Durkin

Tuned Listener
Posts: 21
Country: Germany

Re: find all the selected contacts

Thanks Jim,

 

but I get the error:  "contact" - this field, but is used like a type

(I wrote in C#)

 

Alex

Tuned Listener
Posts: 21
Country: Germany

Re: find all the selected contacts

sorry, Jim, was my fault.

Everything works,

 

thank you very much

 

Alex