How to create the custom form and publish such form on the fly?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Sue,

How can I use a COM Add-In programming approach to create the custom form
and publish the form to the specific folder automatically?

thanks in advance for any possible help!
 
You can publish a form with the FormDescription.PublishForm method. A technique I often use is to publish the form to a folder in a separate ..pst file, then include that .pst file in the distribution and invoke it with Namespace.AddStore. You can then use the MAPIFolder.Items.Add method on the folder holding the form to create a new item with the custom form and then publish it with PublishForm.

See http://www.outlookcode.com/d/distributeforms.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top