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

How do I get a propertyvalue from a mapitable



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 4th 06, 06:11 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 1
Default How do I get a propertyvalue from a mapitable


I have a profile MapiTable from a call to LPPROFADMIN-GetProfileTable.
Calls to pHrQueryAllRows works.

I want to get the profile names from the table.

How do I do this?

I'm thinking it has something to do with HrGetOneProp and
PR_PROFILE_NAME but I cannot work out how to use properties.

Thanks

  #2  
Old October 4th 06, 06:51 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How do I get a propertyvalue from a mapitable

No, you need to call IMAPITable::SetColumns first to set the appropriate
column(s), e.g. PR_DISPLAY_NAME, then call IMAPITable::QueryRows.
Or you can combine the two calls using HrQueryAllRows()

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

wrote in message
ups.com...

I have a profile MapiTable from a call to LPPROFADMIN-GetProfileTable.
Calls to pHrQueryAllRows works.

I want to get the profile names from the table.

How do I do this?

I'm thinking it has something to do with HrGetOneProp and
PR_PROFILE_NAME but I cannot work out how to use properties.

Thanks



 




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
Redemption - MapiTable : BusyStatus Tadwick Outlook and VBA 4 August 10th 06 06:36 PM
Redemption MAPITable Dmitry Streblechenko Add-ins for Outlook 1 January 12th 06 04:09 AM


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