Community
Showing results for 
Search instead for 
Do you mean 
Reply

foreach on GetContacts

Copper Contributor
Posts: 6
Country: Hong_Kong

foreach on GetContacts

Hello,

Im trying to dev a plugin and I have this problem :

foreach (Contact c in application.ActFramework.Contacts.GetContacts(null))
                      {
                          MessageBox.Show(c.FullName);
}

I got 8 contacts sadly, only one seems to go through this.. Maybe it's MessageBox who didn't show all, I don't know...

It's probably dumb...

Thanks for your help guys, if someone can explain me what's going on. Thanks, have a nice day.

Copper Contributor
Posts: 6
Country: Hong_Kong

Re: foreach on GetContacts

Well I got it, a method after my MessageBox fails... Sorry for this bad question !