How to hide UserProperties from appointment print out

D

David

Hi,
I created an outlook 2007 add-in with vsto 3.0 and added some user
properties to store custom information from form range. When user print out
appointment from outlook, the user properities we added are print out also.
Is it possible to hide this informmation at time to print the appointments?
 
S

Sue Mosher [MVP-Outlook]

If these properties are always intended to be invisible to the user, not just
in printouts but in the UI, you can use the PropertyAccessor object to create
your own hidden custom properties. It is only the ones in UserProperties that
default to displaying in printouts.
 
D

David

Thanks for the help. I have problem to figure out the name space be used by
appointment.PropertyAccessor to create a new hiden custom property. Could
you please show me how to set and get the the custom property (i.e. my
project_id) by
appointment.PropertyAccessor.
Thanks.
 
S

Sue Mosher [MVP-Outlook]

You can use the string namespace described in the Outlook Developer Reference
(also available in VBA Help) article at
http://msdn.microsoft.com/en-us/library/bb147567.aspx with either your own
custom GUID or the {00020386-0000-0000-C000-000000000046} GUID.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top