Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Custom Forms in Outlook

Geek News

Custom Forms in Outlook
Jim <rog_21[ at ]yahoo.com> 1/24/2006 7:04:26 PM
I want to create a new custom form for use within my C# outlook add-in.
Do I need to create the form myself in Outlook and then somehow
distribute with my add-in?
How do I go about this process?
Thanks so much
Re: Custom Forms in Outlook
Jim <rog_21[ at ]yahoo.com> 1/24/2006 11:00:50 PM
Also how do I get items to use this form.
I really want to create a new folder in outlook and have items in this
folder use the new messageclass and new inspector form.
Thanks

Jim wrote:
[Quoted Text]
> I want to create a new custom form for use within my C# outlook add-in.
> Do I need to create the form myself in Outlook and then somehow
> distribute with my add-in?
> How do I go about this process?
> Thanks so much
Re: Custom Forms in Outlook
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 1/25/2006 2:10:58 PM
Create the new form with Outlook's form designer, then include code in your project to publish the form using the FormDescription.PublishForm method. (See http://www.outlookcode.com/d/distributeforms.htm)

To make a form the default for a folder, use CDO 1.21 (not officially supported in .NET) or Redemption to set the folder's PR_DEF_POST_MSGCLASS (0x36E5001E) and PR_DEF_POST_DISPLAYNAME (0x36E6001E) properties. If you're not familiar with MAPI property tags, see http://www.cdolive.com/cdo10.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Jim" <rog_21[ at ]yahoo.com> wrote in message news:ewcaFoTIGHA.2896[ at ]TK2MSFTNGP09.phx.gbl...
[Quoted Text]
> Also how do I get items to use this form.
> I really want to create a new folder in outlook and have items in this
> folder use the new messageclass and new inspector form.
> Thanks
>
> Jim wrote:
>> I want to create a new custom form for use within my C# outlook add-in.
>> Do I need to create the form myself in Outlook and then somehow
>> distribute with my add-in?
>> How do I go about this process?
>> Thanks so much
Re: Custom Forms in Outlook
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 1/25/2006 2:36:37 PM
See the information at http://www.outlookcode.com/d/forms.htm

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jim" <rog_21[ at ]yahoo.com> wrote in message
news:ewcaFoTIGHA.2896[ at ]TK2MSFTNGP09.phx.gbl...
[Quoted Text]
> Also how do I get items to use this form.
> I really want to create a new folder in outlook and have items in this
> folder use the new messageclass and new inspector form.
> Thanks
>
> Jim wrote:
>> I want to create a new custom form for use within my C# outlook add-in.
>> Do I need to create the form myself in Outlook and then somehow
>> distribute with my add-in?
>> How do I go about this process?
>> Thanks so much

Re: Custom Forms in Outlook
Jim <rog_21[ at ]yahoo.com> 1/25/2006 2:55:14 PM
Thanks Ken, so as I understand it. I can design a form in Outlook, then
distribute that with my addin. Then anytime I add a new item I can use
that form and publish it. So this will create a new messageclass which I
could assign to an object.What if upon starting my add-in I want to
create a new folder and have this folder use my form and also have the
default form be the form I designed. Also do the messageclasses have to
extend from existing. So do I have to have IPM.Contact.MyForm or can I
have IPM.MyForm ?
Thanks so much.

Ken Slovak - [MVP - Outlook] wrote:
[Quoted Text]
> See the information at http://www.outlookcode.com/d/forms.htm
>
Re: Custom Forms in Outlook
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 1/25/2006 8:53:01 PM
You can only add a completely new message class using Extended MAPI and C++
or Delphi, not a task I'd even want to consider. So IPM.Contact.Whatever it
is.

See the information Sue also posted about publishing a form using code and
changing a folder default message class.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jim" <rog_21[ at ]yahoo.com> wrote in message news:43D79152.6030301[ at ]yahoo.com...
[Quoted Text]
> Thanks Ken, so as I understand it. I can design a form in Outlook, then
> distribute that with my addin. Then anytime I add a new item I can use
> that form and publish it. So this will create a new messageclass which I
> could assign to an object.What if upon starting my add-in I want to create
> a new folder and have this folder use my form and also have the default
> form be the form I designed. Also do the messageclasses have to extend
> from existing. So do I have to have IPM.Contact.MyForm or can I have
> IPM.MyForm ?
> Thanks so much.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net