[OL2002 VB.NET] Can't abort closing the mail

  • Thread starter Thread starter Hahn, Thomas
  • Start date Start date
H

Hahn, Thomas

Hallo NG!

is these the right newsgroup for my problem? I hope so.

I wrote an addin with vb.net. With the addin i ask the user: Would you
really close the Mail? If the users answer is no, I abort to close the mail.
But Outlook ignore the cancel flag and close the mail.

Can someone explain me why outlook do this?

Thanks for your help

Thomas
 
Hallo,

the kb article is the answer. Not the .net Framework make the problem, the
outlook version do this.
I develop an addin for outlook xp.

Thanks and best regards

Thomas
 
There are bugs in setting Cancel = true in a few places in the Outlook 2002
PIA as I recall, I prefer not to use managed code for Outlook 2000 or 2002
so I don't recall specifically which places. I only use managed code if the
targets are Outlook 2003 or later.
 
Back
Top