Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
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 
It works now what I really want to do is printing my outlook contacts to this CheckedListBox.

Right now I can pop the Outlook Contacts from my application with the below code.
I wonder how can i print the names + fax numbers only in that checkedlistBox
Thanks

try
{
Outlook.Application oApp = new Outlook.Application();

// Get the NameSpace information.
Outlook.NameSpace oNS = oApp.GetNamespace("mapi");

// Log on by using a dialog box to choose the profile.
oNS.Logon(System.Reflection.Missing.Value, System.Reflection.Missing.Value, true, true);

// Get the default Contacts folder.
Outlook.MAPIFolder oContacts = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts);

// Get the Items collection from the folder.
Outlook.Items oItems = (Outlook.Items)oContacts.Items;

// Get the first contact item in the Items collection.
Outlook.ContactItem oCt = (Outlook.ContactItem)oItems.GetLast();

string faxNum;
faxNum = oCt.BusinessFaxNumber.Replace("(", "").Replace(")", "").Replace("-", "").Replace(" ", "");
this.txtRecipientFax.Text = faxNum;
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 
GeneralRe: Hrmm Pin
sir_moreno15-Oct-07 22:09
sir_moreno15-Oct-07 22:09 
GeneralWhen executing MSIL Pin
Ennis Ray Lynch, Jr.16-Oct-07 3:34
Ennis Ray Lynch, Jr.16-Oct-07 3:34 
Questionassigning password to pdf attachment programmatically Pin
k.philip15-Oct-07 2:52
k.philip15-Oct-07 2:52 
AnswerRe: assigning password to pdf attachment programmatically Pin
k.philip15-Oct-07 2:53
k.philip15-Oct-07 2:53 
QuestionHow to get a sujet of mail Pin
Khrysby15-Oct-07 2:12
Khrysby15-Oct-07 2:12 
AnswerRe: How to get a sujet of mail Pin
Judah Gabriel Himango15-Oct-07 4:08
sponsorJudah Gabriel Himango15-Oct-07 4:08 
GeneralRe: How to get a sujet of mail Pin
Khrysby15-Oct-07 4:19
Khrysby15-Oct-07 4:19 
GeneralRe: How to get a sujet of mail Pin
Andrei Ungureanu15-Oct-07 4:25
Andrei Ungureanu15-Oct-07 4:25 
GeneralRe: How to get a sujet of mail Pin
Khrysby15-Oct-07 4:38
Khrysby15-Oct-07 4:38 
GeneralRe: How to get a sujet of mail Pin
Khrysby15-Oct-07 23:23
Khrysby15-Oct-07 23:23 
QuestionGetting the progress info of a lengthy system task Pin
Ratish Philip15-Oct-07 1:56
Ratish Philip15-Oct-07 1:56 
AnswerRe: Getting the progress info of a lengthy system task Pin
Giorgi Dalakishvili15-Oct-07 2:20
mentorGiorgi Dalakishvili15-Oct-07 2:20 
GeneralRe: Getting the progress info of a lengthy system task Pin
Ratish Philip15-Oct-07 6:45
Ratish Philip15-Oct-07 6:45 

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.