Click here to Skip to main content
15,891,976 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retrieving MS Outlook Contacts Pin
Justin Perez15-Oct-07 5:23
Justin Perez15-Oct-07 5:23 
GeneralRe: Retrieving MS Outlook Contacts Pin
led mike15-Oct-07 5:24
led mike15-Oct-07 5:24 
GeneralRe: Retrieving MS Outlook Contacts Pin
s3rro15-Oct-07 5:36
s3rro15-Oct-07 5:36 
GeneralRe: Retrieving MS Outlook Contacts Pin
Justin Perez15-Oct-07 5:50
Justin Perez15-Oct-07 5:50 
GeneralRe: Retrieving MS Outlook Contacts Pin
s3rro15-Oct-07 6:02
s3rro15-Oct-07 6:02 
GeneralRe: Retrieving MS Outlook Contacts Pin
Justin Perez15-Oct-07 6:07
Justin Perez15-Oct-07 6:07 
GeneralRe: Retrieving MS Outlook Contacts Pin
led mike15-Oct-07 5:59
led mike15-Oct-07 5:59 
GeneralRe: Retrieving MS Outlook Contacts Pin
s3rro15-Oct-07 9:16
s3rro15-Oct-07 9:16 
Thanks the link was very helpful.And right now im able get the number of the contact in my outlook.

Now i want to list them in a checkedListBox. How can I do it?

this is what i used to retrieve the number of Outlook contacts.


Outlook.MAPIFolder foldercontacts = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts);
Outlook.Items searchFolder = foldercontacts.Items;
int counter = 0;
foreach (Outlook.ContactItem foundContact in searchFolder)
{
counter = counter + 1;
//foundContact.FullName.ToString();
}
MessageBox.Show("You have" + counter + "contacts" );

thanks in advance
QuestionMy app wont resize Pin
RussBus15-Oct-07 4:06
RussBus15-Oct-07 4:06 
AnswerRe: My app wont resize Pin
Andrei Ungureanu15-Oct-07 4:11
Andrei Ungureanu15-Oct-07 4:11 
GeneralRe: My app wont resize Pin
RussBus15-Oct-07 4:57
RussBus15-Oct-07 4:57 
GeneralRe: My app wont resize Pin
RussBus15-Oct-07 5:01
RussBus15-Oct-07 5:01 
GeneralRe: My app wont resize Pin
Giorgi Dalakishvili15-Oct-07 5:50
mentorGiorgi Dalakishvili15-Oct-07 5:50 
GeneralRe: My app wont resize Pin
RussBus15-Oct-07 5:57
RussBus15-Oct-07 5:57 
GeneralRe: My app wont resize Pin
Skippums15-Oct-07 7:09
Skippums15-Oct-07 7:09 
Questionadding checkbox to a multiline textbox Pin
s3rro15-Oct-07 3:43
s3rro15-Oct-07 3:43 
AnswerRe: adding checkbox to a multiline textbox [modified] Pin
Giorgi Dalakishvili15-Oct-07 3:46
mentorGiorgi Dalakishvili15-Oct-07 3:46 
AnswerRe: adding checkbox to a multiline textbox Pin
Martin#15-Oct-07 3:46
Martin#15-Oct-07 3:46 
AnswerRe: adding checkbox to a multiline textbox Pin
J4amieC15-Oct-07 3:46
J4amieC15-Oct-07 3:46 
GeneralRe: adding checkbox to a multiline textbox Pin
s3rro15-Oct-07 4:09
s3rro15-Oct-07 4:09 
GeneralRe: adding checkbox to a multiline textbox Pin
s3rro15-Oct-07 4:16
s3rro15-Oct-07 4:16 
QuestionIs it possible to get the values of : methodBase.GetParameters Pin
sir_moreno15-Oct-07 3:27
sir_moreno15-Oct-07 3:27 
AnswerRe: Is it possible to get the values of : methodBase.GetParameters Pin
TJoe15-Oct-07 5:46
TJoe15-Oct-07 5:46 
AnswerI am sure there is an easier way Pin
Ennis Ray Lynch, Jr.15-Oct-07 5:46
Ennis Ray Lynch, Jr.15-Oct-07 5:46 
GeneralHrmm Pin
Ennis Ray Lynch, Jr.15-Oct-07 6:08
Ennis Ray Lynch, Jr.15-Oct-07 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.