Hi,
How can I programatically publish a custom form for a folder ? Is there any
documentation, sample code about this ?
Thanks,
Jeff W - 15 Jul 2004 21:31 GMT
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