Rama Krishna rao

I have a requirement where I need to Publish the custom forms (.oft) programmatically.
Any idea how to achieve this Code snippet would help.


Re: Visual Studio Tools for Office Publish custom forms programmatically

Sue Mosher - Outlook MVP

Use the Application.CreateItemFromTemplate to create a new item using the .oft file. Then use that item's FormDescription.PublishForm method to publish the form. See http://www.outlookcode.com/d/distributeforms.htm