Click here to Skip to main content
16,012,223 members
Home / Discussions / C#
   

C#

 
QuestionProcessing string Pin
abbd12-Feb-09 3:47
abbd12-Feb-09 3:47 
AnswerRe: Processing string Pin
musefan12-Feb-09 3:56
musefan12-Feb-09 3:56 
GeneralRe: Processing string Pin
PIEBALDconsult12-Feb-09 4:11
mvePIEBALDconsult12-Feb-09 4:11 
GeneralRe: Processing string Pin
musefan12-Feb-09 4:17
musefan12-Feb-09 4:17 
AnswerRe: Processing string Pin
Luc Pattyn12-Feb-09 4:43
sitebuilderLuc Pattyn12-Feb-09 4:43 
GeneralRe: Processing string Pin
musefan12-Feb-09 4:46
musefan12-Feb-09 4:46 
AnswerRe: Processing string Pin
PIEBALDconsult12-Feb-09 4:13
mvePIEBALDconsult12-Feb-09 4:13 
QuestionVSTO 2003 and Outlook... ItemAdd Event does not work as desired Pin
clickman12-Feb-09 3:35
clickman12-Feb-09 3:35 
Hi,
i added an eventhandler to the ItemSend event of the outlook outfolder. It fires regular but when i use following code

1 void Out_Items_ItemAdd(object Item) {
2 log4.Debug("new item in outfolder added");
3 Outlook.MailItem mail = Item as Outlook.MailItem;
4 if (mail == null) {
5 log4.Debug("not a mail item");
6 return;
7 }
8 try {
9 moveMailItem();
10 return;
11 }
12 mail.Send();
13 } catch (Exception ex) {
14 log4.Debug("error sending item", ex);
15 }
16 }

when i now send a new mail it works and it calls moveMailItem().

My problem is when i send an meetingRequestItem it logs that this is no mailitem and exits the eventhandler. But then the item never sends. Its hanging in the outfolder forever.

I tried to explicitely call send on that item but i found no way to call send to it.

I tried to add Item = null after line 5 and called the Garbage Collection. It thens sends all Appointments that where hanging before on 3 PCs but on one PC there where not all items send out that where no emails and they sent where still in outfolder.

Can someone please give me an hint how this could be fixed?
QuestionEdit a pdf file or edit a word file and transforme it on pdf Pin
abbd12-Feb-09 2:41
abbd12-Feb-09 2:41 
AnswerRe: Edit a pdf file or edit a word file and transforme it on pdf Pin
Dave Kreskowiak12-Feb-09 4:22
mveDave Kreskowiak12-Feb-09 4:22 
Questionupdate progress Pin
venu65612-Feb-09 2:03
venu65612-Feb-09 2:03 
AnswerRe: update progress Pin
musefan12-Feb-09 3:08
musefan12-Feb-09 3:08 
GeneralRe: update progress Pin
EliottA12-Feb-09 4:35
EliottA12-Feb-09 4:35 
GeneralRe: update progress Pin
musefan12-Feb-09 4:39
musefan12-Feb-09 4:39 
QuestionOpen directory Pin
abbd12-Feb-09 1:36
abbd12-Feb-09 1:36 
AnswerRe: Open directory Pin
DaveyM6912-Feb-09 1:41
professionalDaveyM6912-Feb-09 1:41 
GeneralRe: Open directory Pin
abbd12-Feb-09 1:51
abbd12-Feb-09 1:51 
GeneralRe: Open directory Pin
dan!sh 12-Feb-09 2:17
professional dan!sh 12-Feb-09 2:17 
AnswerRe: Open directory Pin
Deresen12-Feb-09 2:32
Deresen12-Feb-09 2:32 
Questionplease help Pin
kinda-khitam12-Feb-09 1:31
kinda-khitam12-Feb-09 1:31 
AnswerRe: please help Pin
Le centriste12-Feb-09 1:58
Le centriste12-Feb-09 1:58 
AnswerRe: please help Pin
J4amieC12-Feb-09 2:23
J4amieC12-Feb-09 2:23 
QuestionConverting a data grid column type Pin
Muammar©12-Feb-09 1:01
Muammar©12-Feb-09 1:01 
AnswerRe: Converting a data grid column type Pin
Calin Tatar12-Feb-09 2:03
Calin Tatar12-Feb-09 2:03 
GeneralRe: Converting a data grid column type Pin
Calin Tatar12-Feb-09 2:16
Calin Tatar12-Feb-09 2: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.