Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error Pin
0x3c017-Jul-09 0:35
0x3c017-Jul-09 0:35 
Chances are that you've got something in your Received folder that isn't a MailItem. When you iterate through the items, you do an implicit cast. Change the declaration of item to a base class, and check if it's a MailItem in the loop. If it is, cast and work with it as normal. If it isn't, continue iterating

Between the idea
And the reality
Between the motion
And the act
Falls the Shadow

GeneralRe: Error Pin
john563217-Jul-09 0:55
john563217-Jul-09 0:55 
GeneralRe: Error Pin
0x3c017-Jul-09 1:05
0x3c017-Jul-09 1:05 
GeneralRe: Error Pin
john563217-Jul-09 1:35
john563217-Jul-09 1:35 
GeneralRe: Error Pin
0x3c017-Jul-09 1:44
0x3c017-Jul-09 1:44 
GeneralRe: Error Pin
john563217-Jul-09 2:33
john563217-Jul-09 2:33 
QuestionC# compression Pin
GauravKP17-Jul-09 0:05
professionalGauravKP17-Jul-09 0:05 
AnswerRe: C# compression Pin
Luc Pattyn17-Jul-09 0:20
sitebuilderLuc Pattyn17-Jul-09 0:20 
AnswerRe: C# compression Pin
Alan Balkany17-Jul-09 3:53
Alan Balkany17-Jul-09 3:53 
QuestionHow to make a pipe continuously availble for other C# application. Pin
svt gdwl16-Jul-09 23:55
svt gdwl16-Jul-09 23:55 
QuestionErrr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor16-Jul-09 23:44
Baeltazor16-Jul-09 23:44 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits16-Jul-09 23:58
HuntingWabbits16-Jul-09 23:58 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 0:39
Baeltazor17-Jul-09 0:39 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits17-Jul-09 0:56
HuntingWabbits17-Jul-09 0:56 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 1:46
Baeltazor17-Jul-09 1:46 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Wes Aday17-Jul-09 3:34
professionalWes Aday17-Jul-09 3:34 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 4:17
Baeltazor17-Jul-09 4:17 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Wes Aday17-Jul-09 7:53
professionalWes Aday17-Jul-09 7:53 
QuestionRelated to thumbnailcontrol Pin
pradnyajag16-Jul-09 23:41
pradnyajag16-Jul-09 23:41 
Questionvar : good or bad? Pin
hairy_hats16-Jul-09 23:35
hairy_hats16-Jul-09 23:35 
AnswerRe: var : good or bad? Pin
0x3c016-Jul-09 23:38
0x3c016-Jul-09 23:38 
AnswerRe: var : good or bad? Pin
Pete O'Hanlon16-Jul-09 23:50
mvePete O'Hanlon16-Jul-09 23:50 
GeneralRe: var : good or bad? Pin
hairy_hats17-Jul-09 0:14
hairy_hats17-Jul-09 0:14 
AnswerRe: var : good or bad? Pin
Luc Pattyn17-Jul-09 0:24
sitebuilderLuc Pattyn17-Jul-09 0:24 
AnswerRe: var : good or bad? Pin
PIEBALDconsult17-Jul-09 4:38
mvePIEBALDconsult17-Jul-09 4:38 

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.