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

L

lostwings

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!
 
S

Sue Mosher [MVP-Outlook]

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
 

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