![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
please accept my aplogies if i did not explain myself well enough. i will
try again. i have created a .NET form region which has a formRegionType of 'separateAll'. my form region is an embedded resource. i can open it from the command bar with the following code and it works fine: const string clientsMessageClass = "IPM.Contact.TestAddin1.Client"; Outlook.ContactItem contactItem = (Outlook.ContactItem)clientsFolder.Items.Add(clien tsMessageClass); contactItem.MessageClass = clientsMessageClass; contactItem.Display(objMissing); now i am trying to create a new NavigationItem within the Contacts navigation pane to access this form region. So i am doing code like this, where 'clientFolder' is a MAPI Folder I have created within the default Contacts MAPI Folder as a place to store any custom items generated from my custom form: Outlook.NavigationFolder myCustomNavigationFolder = myCustomNavigationGroup.NavigationFolders.Add(clie ntsFolder); ok - so my problem is that whenever I double click my new NavigationItem it is opening the default contacts form. i want it to open my custom form region. "Sue Mosher [MVP-Outlook]" wrote in message ... Since form regions do not themselves have message classes, I'm a little confused both about what you've done and about what you're trying to do with the form region. Maybe you can post your region's manifest or at least explain whether you're trying to do an adjoining or separate region. If you want users to use a custom form to create items in your folder, create and publish a traditional Outlook form with the desired message class and set it as the folder's default on the Properties dialog for the form. -- 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 "Fidget Brain" wrote in message ... I created a custom form region with the following message class: "IPM.Contact.TestAddIn1.ClientRegion". I then created a new Folder within the default Contacts folder to store these custom items. Finally, I created a NavigationFolder within the Contacts navigation module which points to my new Folder. when I click the navigation pane folder it is raising the default Contacts form, rather than my custom form. this is expected. the problem is that I can't find a way to set my custom message class for this folder in order to correct this problem. The DefaultMessageClass property of my folder is read-only. Also when I first create my folder, the help file specifies that the additional optional parameter should specify an olDefaultFolder type, so I can't set it there either. any help appreciated as Ive been stuck on this now for a while ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
2002 outlook, how do i make my custom contact form my default | Linda | Outlook - Using Contacts | 1 | June 23rd 06 01:56 AM |
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 | David Webb | Outlook and VBA | 1 | June 20th 06 10:59 PM |
Unable to Set Default Data File for Use with Outlook 2007 | Marc Joffe | Outlook - Installation | 2 | June 19th 06 03:08 AM |
Code to set Flag Status to complete on custom form | ICT User | Outlook - Using Forms | 3 | March 28th 06 12:59 AM |
Setting Custom Form as Default | Amber | Outlook - Using Forms | 3 | January 27th 06 11:29 PM |