More Outlook Resource Sites

Microsoft Developer Network (MSDN)

FAQs and other general resources

forum 31-Oct-2014 12:34

Looking for help with Outlook programming projects — VSTO, add-ins, VBA, custom Outlook forms, etc.? You′ve come to the right place!

NEW! >> Subscribe to this site via RSS. For more RSS options, see the complete list of feeds on our main news page.

Login Password
Remember me
Register | Send my password
    Page [ 1 ]  
 Outlook and .NET Printer Friendly Version
Writing code with C# and VB.NET to create Outlook add-ins and other projects
Topic
viewing a custom form (well...FormRegion)
hi

I've created a custom Outlook.FormRegion

It's green (!) and it's a Contact one (although I can't see that in the properties)

If I tinker with the manifest properties...

"Adjoining" does what I expect if I create a new contact, I have a green area below
"Separate" does what I expect, it is there to click instead of Details..

However "Replace" and "ReplaceAll" do not do what I expect, when I open up a new contact, they are not to be seen

What I'd like is the FormRegion to come up as the default instead of the usual details, or even better would be "Separate" region to be the default region instead of details

I want a new contact...and it's green

Have been tinkering and googling for two days now. My ribbon code is

[code]
Dim OutlookObject As Microsoft.Office.Interop.Outlook._Application = New Microsoft.Office.Interop.Outlook.Application()
        Dim contact As Microsoft.Office.Interop.Outlook.ContactItem = OutlookObject.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olContactItem)
        contact.Display()
[/code]

 

  15-Nov-2012  09:20
    Page [ 1 ]