A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 28th 08, 12:56 PM posted to microsoft.public.outlook.program_addins
Hahn, Thomas
external usenet poster
 
Posts: 15
Default [OL2002 VB.NET] Can't abort closing the mail

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


  #2  
Old February 28th 08, 03:33 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default [OL2002 VB.NET] Can't abort closing the mail

Framework 1.1? See http://support.microsoft.com/default.aspx?id=830519

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Hahn, Thomas" wrote in message
...
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


  #3  
Old February 29th 08, 08:25 AM posted to microsoft.public.outlook.program_addins
Hahn, Thomas
external usenet poster
 
Posts: 15
Default [OL2002 VB.NET] Can't abort closing the mail

No, I use Framework 2.0

Thomas

"Ken Slovak - [MVP - Outlook]" schrieb im Newsbeitrag
...
Framework 1.1? See http://support.microsoft.com/default.aspx?id=830519

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Hahn, Thomas" wrote in message
...
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




  #4  
Old February 29th 08, 01:38 PM posted to microsoft.public.outlook.program_addins
Hahn, Thomas
external usenet poster
 
Posts: 15
Default [OL2002 VB.NET] Can't abort closing the mail

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

"Ken Slovak - [MVP - Outlook]" schrieb im Newsbeitrag
...
Framework 1.1? See http://support.microsoft.com/default.aspx?id=830519

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Hahn, Thomas" wrote in message
...
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




  #5  
Old February 29th 08, 03:00 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default [OL2002 VB.NET] Can't abort closing the mail

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Hahn, Thomas" wrote in message
...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 keeps downloading mail after closing the program ken Outlook - Installation 2 December 16th 07 12:49 AM
how to realize an abort-button? b.schmidt Add-ins for Outlook 1 May 24th 07 12:23 AM
New mail in In-Box is deleted after reading and closing . . . Dave Calahan Outlook - Installation 4 January 6th 07 08:45 PM
abort AttachmentRead semedao Outlook and VBA 1 October 29th 06 07:24 PM
Item send overide/abort on a code condition A Reno Outlook - Using Forms 1 June 19th 06 04:14 PM


All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.