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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Programmatically accessing Outlook properties



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 12th 09, 03:15 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programmatically accessing Outlook properties

First you have to decide what you want.

Do you want Outlook property names or do you want MAPI tags in PR format?

MAPI tags are listed in various MAPI header files that are part of Windows
SDK among other downloads. You can also use a MAPI viewer such as MFCMAPI or
OutlookSpy to get PR type tags for properties or get DASL type property
tags.

Outlook object model property names you can get from the Object Browser or
run prototype code iterating the ItemProperties collection of an item.

--
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


"Krutika Suchak" wrote in message
...
Thanks for the reply but the question here is we do not want to hard code
the
attribute name we just want to take is dynamically from some XML file.

We are thinking of maintaining a XML file whose structure can be like:
outlookattributes
Attribute name=”Client” DataType=”Boolean” /
Attribute name=”ManagerPhone” DataType=”String” /
......
/outlookattributes
so we can fetch attribute name from this file and can use what you have
suggested.

For this, where will we get the name of all PR_ tags for the Outlook
fields.


 




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
Accessing Outlook 2003 Signature Programmatically using C# Bachi Outlook - Using Forms 6 August 24th 09 02:58 PM
Accessing contact's custom properties in a Outlook 2007 form region Kiran[_2_] Add-ins for Outlook 1 June 4th 09 03:12 PM
Accessing User's outlook properties Rahul Outlook - Using Forms 1 November 17th 08 03:00 PM
Programmatically accessing password protected pst file Ashutosh Ambekar Add-ins for Outlook 3 October 17th 06 07:56 PM
.NET Programmatically accessing Exchange shared and public folders DeborahK Outlook - Using Contacts 4 August 16th 06 11:20 PM


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