Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / May 2006

Tip: Looking for answers? Try searching our database.

How to get the property value that chaneged in Outlok Inspector Ob

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rupang - 05 May 2006 22:23 GMT
Here is one query that I have for the way Outlook Inspector object works.

Below are the sequences of steps:

1. User clicks on a Contact Item to open it.

2. Inspector New event will fire and new contact item is created Within New
(Constructor) we modify the underlying data for that item say change the
First Name (using  myItem.PropertyName=<New Value> where myItem is a new
Contact Item that we created using code like:
myItems = m_ContactFolder.Items

myItem = myItems.Find("[AppID] = '" & strAppID & "'")

3. Then the Inspector Open event will fire and when the item gets displayed
it shows the old value in the First Name Field, however in the explorer
window we can see that the value is changed.

The question is how do we make sure that we see the changes that we have
made while in the New Inspector in to the form when it opens?

Thanks,
Rupang
Ken Slovak - [MVP - Outlook] - 06 May 2006 18:16 GMT
Don't use NewInspector for that. Use the first Activate event. Some things
aren't initialized in an Inspector until the first Activate.

Signature

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

> Here is one query that I have for the way Outlook Inspector object works.
>
[quoted text clipped - 21 lines]
> Thanks,
> Rupang
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.