View Single Post
  #1  
Old September 18th 06, 01:50 PM posted to microsoft.public.outlook.program_forms
T-rev
external usenet poster
 
Posts: 23
Default Mail form VB code.

Have you a VB snippet I could use please.
Problem is I have a published form to a folder. I can add to the
messageBody, or display buttons based on messageProperties. But I need to
get access to mapi custom properties which I have placed on the message.

The don't seem to be in userProperties or itemProperties, I know they are on
the mapi object as I placed them there and can see them on using outlookSpy.

In the form designed is there any way of using
If Item.MapiObject ("ExampleProperty") = TRUE Then
strBody = strBody & "Property Present"
End If

Item.Body = strBody

Thanks for your help.


Ads