View Single Post
  #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



Ads