This is covered in the KB article at
http://support.microsoft.com/?kbid=310244, in the section on the Items.Add
method.
Note, however, that custom message forms generally are useful only for
internal use within organization that use Exchange as their mail server; see
http://www.outlookcode.com/article.aspx?id=61 for prerequisites.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Phani" <(E-Mail Removed)> wrote in message
news:31EBB43E-70B6-4C2C-B1E5-(E-Mail Removed)...
>I wish to develop custom form and want to utilise some of outlook Mail
> Message functionality, want to add more controls and custom functionality.
> I
> want to call this Custom form in my Out look add-in (by clicking out look
> tool bar button custom form will show up). Is it posible, how to do that?
> any
> code samples and suggestions Pls.
> I am using outlook 2007 and Visual Studio 2008, C# language.