Click here to Skip to main content
16,005,121 members
Home / Discussions / C#
   

C#

 
AnswerRe: cross-thread operation not valid? Pin
Giorgi Dalakishvili3-Nov-08 19:28
mentorGiorgi Dalakishvili3-Nov-08 19:28 
Questionconvert to double Pin
dec823-Nov-08 16:21
dec823-Nov-08 16:21 
GeneralRe: convert to double Pin
Luc Pattyn3-Nov-08 16:30
sitebuilderLuc Pattyn3-Nov-08 16:30 
GeneralRe: convert to double Pin
dec823-Nov-08 16:34
dec823-Nov-08 16:34 
GeneralRe: convert to double Pin
Luc Pattyn3-Nov-08 16:39
sitebuilderLuc Pattyn3-Nov-08 16:39 
Questionrunning c#.net application from cd Pin
doug4333-Nov-08 13:56
doug4333-Nov-08 13:56 
AnswerRe: running c#.net application from cd Pin
DaveyM693-Nov-08 14:33
professionalDaveyM693-Nov-08 14:33 
QuestionPerformance question about MailItem objects Pin
gubijo3-Nov-08 10:24
gubijo3-Nov-08 10:24 
Hey!

I have to work with MailItem objects, because I have to do an Outlook AddIn (in Outlook 2007).

I'm still planning the code logic, because I am not sure about how to use MailItem objects in the best way (to get the best performance).

So the AddIn is searching out (from the proper collection) the selected e-mails in the view where the user stays. Then I display these e-mails and their attachments in a Windows Form where the user decides wich he need to save (with CheckBoxes) to a specified path (in code).

I know all the classes and objects what I have to..but there's a thing what I'm not sure about.

It would be comfortable to pass the created MailItem objects to the Forms' constructor, but... If I'm creating MailItem objects from all the selected mails, that means if I have 10 e-mails with a 10 MB attachment one-by-one, my application eats up 100 mb of memory (cuz' all MailItem object have it's own Attachments collection)??

Then I pass that amount to the Forms' class so 100 MB again? I read that new instances of a class are reference types, but I'm not sure...

Please help me, thanks in advance! Shucks | :-\
AnswerRe: Performance question about MailItem objects Pin
leppie3-Nov-08 21:42
leppie3-Nov-08 21:42 
QuestionDoes C# support inline IL? Pin
Member 39190493-Nov-08 9:48
Member 39190493-Nov-08 9:48 
AnswerRe: Does C# support inline IL? Pin
harold aptroot3-Nov-08 10:04
harold aptroot3-Nov-08 10:04 
AnswerRe: Does C# support inline IL? Pin
Pete O'Hanlon3-Nov-08 10:26
mvePete O'Hanlon3-Nov-08 10:26 
GeneralRe: Does C# support inline IL? Pin
Member 39190493-Nov-08 11:13
Member 39190493-Nov-08 11:13 
GeneralRe: Does C# support inline IL? Pin
Pete O'Hanlon3-Nov-08 11:26
mvePete O'Hanlon3-Nov-08 11:26 
AnswerRe: Does C# support inline IL? Pin
Mark Churchill3-Nov-08 14:00
Mark Churchill3-Nov-08 14:00 
AnswerRe: Does C# support inline IL? Pin
leppie3-Nov-08 21:43
leppie3-Nov-08 21:43 
GeneralRe: Does C# support inline IL? Pin
Pete O'Hanlon3-Nov-08 22:21
mvePete O'Hanlon3-Nov-08 22:21 
GeneralRe: Does C# support inline IL? Pin
Luc Pattyn4-Nov-08 1:00
sitebuilderLuc Pattyn4-Nov-08 1:00 
QuestionExisting excel needs editing by c# Pin
Angelus19653-Nov-08 9:16
Angelus19653-Nov-08 9:16 
Question@ symbol before filenames Pin
EliottA3-Nov-08 7:59
EliottA3-Nov-08 7:59 
AnswerRe: @ symbol before filenames Pin
Pedram Behroozi3-Nov-08 8:06
Pedram Behroozi3-Nov-08 8:06 
AnswerRe: @ symbol before filenames Pin
Giorgi Dalakishvili3-Nov-08 8:10
mentorGiorgi Dalakishvili3-Nov-08 8:10 
GeneralRe: @ symbol before filenames Pin
Pedram Behroozi3-Nov-08 8:18
Pedram Behroozi3-Nov-08 8:18 
GeneralRe: @ symbol before filenames Pin
Giorgi Dalakishvili3-Nov-08 8:22
mentorGiorgi Dalakishvili3-Nov-08 8:22 
Questionc# .net menu form like in codeproject.com Pin
sodevrom3-Nov-08 6:16
sodevrom3-Nov-08 6:16 

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.