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 / Programming Add-Ins / January 2004

Tip: Looking for answers? Try searching our database.

Will i get NewInspector event each time i display an item?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Julia - 29 Jan 2004 07:57 GMT
Hello

I have two types of contacts item,one is IPM.Contact and the other is
IPM.Contact.Special
I decide to create two wrapper classes.

CIpmInspector and CSpcInspector which will wrap the two item's inspector
I wonder if it is safe? should i get  NewInspector event each time an item
is displayed?
(foe example when i am pressing the next button on the inspector assuming i
will get different item)

or should i stick with one wrapper for both items,and just check the
currentitem message class?

I decided to do it since each item have different toolbar,and different
processing.

10x.
Ken Slovak - [MVP - Outlook] - 29 Jan 2004 14:24 GMT
Either way is OK. I'd probably go with one wrapper class and test for
MessageClass in that and branch to different button creating code
depending on the MessageClass.

Depending on which version or versions of Outlook you plan to run the
code on (and also the service pack and hotfix level) you may or may
not get a NewInspector event when Next or Previous are used. Depending
on version and so on you also may get a NewInspector if the item
opened using Next or Previous has ever been opened in that Inspector
previously or is new to that Inspector.

There are a few KB articles relating to the NewInspector bugs, the
easiest way to find them is to scan the list of Outlook/CDO/Exchange
articles at http://www.microeye.com/resources/res_outlkb.htm You'll
find lots of other useful KB articles there as well.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hello
>
[quoted text clipped - 15 lines]
>
> 10x.
Julia - 29 Jan 2004 14:46 GMT
OL 2000 and above.

But i understand that the NewInspector suppose to be raised if everything is
ok(latest hotfix,and service packs installed)?

10x

> Either way is OK. I'd probably go with one wrapper class and test for
> MessageClass in that and branch to different button creating code
[quoted text clipped - 44 lines]
> >
> > 10x.
Ken Slovak - [MVP - Outlook] - 29 Jan 2004 15:26 GMT
Yes, supposedly. It also depends on whether WordMail is being used and
the Outlook version if emails are being opened.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> OL 2000 and above.
>
> But i understand that the NewInspector suppose to be raised if everything is
> ok(latest hotfix,and service packs installed)?
>
> 10x
 
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.