C
cs
Hi,
I change some default values for a contact Item in the NewInspector event.
They are not displayed, if they are on the first page of my custom form.
They are displayed if they are on an other page.
(VSTO C# Outlook 2003)
Her some parts from the code:
insps = this.Inspectors;
insps.NewInspector += new
Outlook.InspectorsEvents_NewInspectorEventHandler(Inspector_New);
void Inspector_New(Outlook.Inspector ins)
Outlook.ContactItem c = ins.CurrentItem as Outlook.ContactItem;
c.CompanyName = "Test";
I change some default values for a contact Item in the NewInspector event.
They are not displayed, if they are on the first page of my custom form.
They are displayed if they are on an other page.
(VSTO C# Outlook 2003)
Her some parts from the code:
insps = this.Inspectors;
insps.NewInspector += new
Outlook.InspectorsEvents_NewInspectorEventHandler(Inspector_New);
void Inspector_New(Outlook.Inspector ins)
Outlook.ContactItem c = ins.CurrentItem as Outlook.ContactItem;
c.CompanyName = "Test";