A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Custom Forms in Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 24th 06, 08:04 PM posted to microsoft.public.outlook.program_addins
jim
external usenet poster
 
Posts: 26
Default Custom Forms in Outlook

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
Ads
  #2  
Old January 25th 06, 12:00 AM posted to microsoft.public.outlook.program_addins
jim
external usenet poster
 
Posts: 26
Default Custom Forms in Outlook

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

  #3  
Old January 25th 06, 03:10 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Custom Forms in Outlook

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" wrote in message ...
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

  #4  
Old January 25th 06, 03:36 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom Forms in Outlook

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" wrote in message
...
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


  #5  
Old January 25th 06, 03:55 PM posted to microsoft.public.outlook.program_addins
jim
external usenet poster
 
Posts: 26
Default Custom Forms in Outlook

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:
See the information at http://www.outlookcode.com/d/forms.htm

  #6  
Old January 25th 06, 09:53 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom Forms in Outlook

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" wrote in message ...
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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Access my Custom Forms ed Outlook - Using Forms 3 February 21st 06 02:57 PM
Custom forms writen in 2000 and read in 2003 Mark the Outlook Idiot Outlook - Using Contacts 7 February 7th 06 09:48 PM
Fields on custom forms are not kept after message is sent Sue Mosher [MVP-Outlook] Outlook - Using Forms 2 February 6th 06 11:06 PM
Custom E-Forms Attachment Jan Outlook - Using Forms 3 February 2nd 06 11:00 PM
Custom Forms Permissions Rachel Weseman Outlook - Using Forms 1 January 24th 06 11:48 PM


All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.