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

Handling Outlook COM exceptions in .Net



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 24th 06, 06:53 AM posted to microsoft.public.outlook.program_addins
Josh Einstein
external usenet poster
 
Posts: 57
Default Handling Outlook COM exceptions in .Net

I've run into this too and in some exceptions I don't even get a
description.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


wrote in message
ups.com...
Hi,
Thanks for your reply.

Using "Restrict" was just a sample how to cause an exception.
It can be seen also on "Outlook.Recipient.FreeBusy" and
"Attachments.Add".
The issue is that in COM, the practice is to compare the HRESULT value
against a list of known numeric values (or test certain bits)
but here, the numeric value seem to be random, and only the description
is the same (at least it's prolog).

As for your comments, this syntax of the filter seems to work fine so
far.
The date element was enclosed with "#", to avoid any ambiguity as
whether 7/4 is July's 4th, or April's 7th.
I didn't find any documentation about the compatibility of the syntax
among OS with different cultures used, so I used this one, which seems
to work.

Itzik.



 




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
Event handling? [email protected] Add-ins for Outlook 0 January 25th 06 01:40 PM
Event handling? [email protected] Add-ins for Outlook 0 January 25th 06 01:40 PM
Handling Task Item Delete Event AtulSureka Outlook - Using Forms 0 January 24th 06 10:25 AM
How to Create Exceptions to Recurring Appointment Sabrina Outlook - General Queries 1 January 11th 06 02:10 PM
How to handling Custom Form Control Event in VB Com Add-In? Raphaël ZHOU \(Jadiam\) Outlook - Using Forms 1 January 11th 06 07:31 AM


All times are GMT +1. The time now is 06:23 PM.


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.