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

Determine if a Folder contains a UserProperty



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 21st 06, 08:55 PM posted to microsoft.public.outlook.program_addins
Rog
external usenet poster
 
Posts: 62
Default Determine if a Folder contains a UserProperty

Is it possible to determine if a UserProperty exists in a folder without
looping through each item to check it's UserProperties?
Thanks
Rog
  #2  
Old March 21st 06, 11:11 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Determine if a Folder contains a UserProperty

Not in Outlook Object Model. In Extended MAPI/CDO 1.21/Redemption, you can
check if the folder's associated (hidden) contents table contains a message
with the message class (PR_MESSAGE_CLASS) equal to "IPC.MS.REN.USERFIELDS".

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rog" wrote in message
...
Is it possible to determine if a UserProperty exists in a folder without
looping through each item to check it's UserProperties?
Thanks
Rog



  #3  
Old April 9th 06, 04:05 PM posted to microsoft.public.outlook.program_addins
Ariel
external usenet poster
 
Posts: 2
Default Determine if a Folder contains a UserProperty

What about a specific UP? Do I have to venture into the PR_USERFIELDS
and locate it there?


Ariel

  #4  
Old April 10th 06, 05:54 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Determine if a Folder contains a UserProperty

Yes.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Ariel" wrote in message
oups.com...
What about a specific UP? Do I have to venture into the PR_USERFIELDS
and locate it there?


Ariel



 




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
How to determine what SMTP address email was sent to? BCole8888 Outlook - General Queries 3 February 8th 06 03:08 PM
How to determine the format for each e-mail in Outlook 2000? Uncle Bill Outlook - Using Contacts 0 February 1st 06 09:46 PM
SaveAs() sometimes loses userProperty! PuppetMaster Add-ins for Outlook 3 January 24th 06 10:49 AM
SaveAs() sometimes loses userProperty! PuppetMaster Outlook and VBA 3 January 24th 06 10:49 AM
Determine date a meeting invite was sent Ddemby Outlook - Calandaring 0 January 10th 06 12:11 AM


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