View Single Post
  #3  
Old January 25th 06, 03:10 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Custom Forms in Outlook

Create the new form with Outlook's form designer, then include code in your project to publish the form using the FormDescription.PublishForm method. (See http://www.outlookcode.com/d/distributeforms.htm)

To make a form the default for a folder, use CDO 1.21 (not officially supported in .NET) or Redemption to set the folder's PR_DEF_POST_MSGCLASS (0x36E5001E) and PR_DEF_POST_DISPLAYNAME (0x36E6001E) properties. If you're not familiar with MAPI property tags, see http://www.cdolive.com/cdo10.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Jim" wrote in message ...
Also how do I get items to use this form.
I really want to create a new folder in outlook and have items in this
folder use the new messageclass and new inspector form.
Thanks

Jim wrote:
I want to create a new custom form for use within my C# outlook add-in.
Do I need to create the form myself in Outlook and then somehow
distribute with my add-in?
How do I go about this process?
Thanks so much

Ads