![]() |
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
|
|||
|
|||
![]()
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"; |
Ads |
#2
|
|||
|
|||
![]()
Try setting the properties in Inspector.Activate and save the change.
-- 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 "cs" wrote in message ... 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"; |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
catch the mail item on_focus event | john | Outlook and VBA | 1 | September 28th 06 12:33 PM |
Item Open event does not occurs every time | sfradel | Add-ins for Outlook | 1 | September 2nd 06 04:33 PM |
Item locked due to DST and changed time zone. | donaldavis | Outlook - Calandaring | 2 | May 2nd 06 08:02 PM |
Item Move event | AtulSureka | Outlook and VBA | 1 | February 24th 06 01:33 PM |
Handling Task Item Delete Event | AtulSureka | Outlook - Using Forms | 0 | January 24th 06 10:25 AM |