You can't use CopyTo to install a form. Instead, create a new item using the custom form and then use its FormDescription.PublishForm method.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Gil Hennessey via OfficeKB.com" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> We've published forms to a public folder on Exchange. We want to be able to
> programmatically install the forms to every users' mailbox default folders
> (contacts, tasks, etc.). We've written a vb6 app that gets the public
> folder, can read its hidden messages and identify the
> IPM.Micrsoft.FolderDesign.FormDescription type to copy/install. However,
> when we copy to the form using Message.CopyTo, it shows up as a contact
> item and not in the Forms tab on the Contact Properties window. Is there a
> way to programmatically install this form from the public folder? Any
> suggestions/method using VB6, VB.Net or C# would be welcome. We're on
> Exchange 2003 and Outlook 2003.
>
> Thanks.