![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
From C++ using UserProp-Name I can get the name of a UserProperty,
but UserProp-Value.bstrVal always returns nothing, anyone have any ideas what I could be doing wrong and has anyone ever accessed UserProperties from C++? UserPropertiesPtr UserProps = Con-UserProperties; if (UserProps-Count 0) { tot = UserProps-Count; UserPropertyPtr UserProp; for (i=1;i tot + 1;i++) { UserProp = UserProps-Item(i); MessageBox(NULL,UserProp-Name,"Test - Name",MB_OK); char* sText; sText = (char*)UserProp-Value.bstrVal; MessageBox(NULL,sText,"Test - Value",MB_OK); } } |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can get UserProperty Names but not Values? | Adam Dempsey | Outlook - General Queries | 4 | October 15th 07 04:07 AM |
Regarding outlook UserProperty | Bharathi | Add-ins for Outlook | 1 | October 12th 07 03:19 PM |
How to add a UserProperty to a MAPIFolder? | Jeff | Outlook and VBA | 4 | November 8th 06 11:10 PM |
SaveAs() sometimes loses userProperty! | PuppetMaster | Add-ins for Outlook | 3 | January 24th 06 11:49 AM |
SaveAs() sometimes loses userProperty! | PuppetMaster | Outlook and VBA | 3 | January 24th 06 11:49 AM |