Question about custom forms publishing...

  • Thread starter Thread starter kistvan
  • Start date Start date
K

kistvan

Hi,

How can I programatically publish a custom form for a folder ? Is there any
documentation, sample code about this ?

Thanks,
 
See the CreateItemFromTemplate Method near the end of this article.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k
2/html/odc_novoltips.asp

You can publish to the personal froms library as well by replacing
"olFolderRegistry" with "olPersonalRegistry" and dropping the second
argument of the PublishForm method.

A helpful listing of Outlook 2002 Object Model Constants can be found
here;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnancho
r/html/odc_anclcs.asp
 
Back
Top