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

RDO: using TypeOf to determine [OOM] Class



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 18th 10, 11:31 AM posted to microsoft.public.outlook.program_addins
Mark McGinty[_2_]
external usenet poster
 
Posts: 1
Default RDO: using TypeOf to determine [OOM] Class

I've been using this successfully to determine whether an item object is a
contact, task or appointment, but I have a related problem: Since all item
types derive from RDOMail, how do I determine that an item is an email
message? (MessageClass = "IPM.Note" by default.)

At the moment I'm testing for all of the RDOMail-derived types, and assuming
that if it isn't any of them, it's an email... (I want to remove all
dependency on the MessageClass string for this level of test.)

Is there a more efficient way to do this?


TIA,
MM


 




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
Message Class celebsfan Outlook - Using Contacts 0 April 13th 09 07:37 AM
New Class inheriting the Inspector Class GP Outlook and VBA 3 September 6th 08 03:08 PM
Message class woes? [email protected] Outlook - Using Forms 3 September 10th 07 06:36 PM
Message Class and Forms JahMic Add-ins for Outlook 5 August 31st 07 10:17 PM
Message class Josianne Outlook - Using Forms 0 April 10th 06 04:06 PM


All times are GMT +1. The time now is 08:59 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.