A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Calandaring
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Errors when using Inspectors



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 23rd 06, 07:47 AM posted to microsoft.public.outlook.calendaring
Yoav
external usenet poster
 
Posts: 3
Default Errors when using Inspectors

I am using the Application.Inspectors Object to get the Event "NewInspector"

With this Event I can add a Button to the Outlook Appointment-Form and
setting a Reference Object to the opened Appointment Form so I can get the
Information from this Form as Date/Time ...



It is working great, except one thing. Opening a Note (passing thru the same
NewInspector Event as well) causing an Error when closing Outlook

"Outlook cannot be closed, at least one parameter is invalid" after this
comes a new message that says "The Note will be closed without saving"

But there is no any open Note, why are the messages coming? What can I do
about it?



If I'm not using the Inspectors, the Problem not appears.


Thanks, Yoav


Ads
  #2  
Old March 23rd 06, 03:47 PM posted to microsoft.public.outlook.calendaring
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Errors when using Inspectors

This really should be posted to one of the programming groups, such as
outlook.programming_forms or outlook.programming_vba.

Run as fast as you can from Note items (IPM.StickyNote). They are brain dead
and you never, never should ever handle their Inspectors except with oven
mitts.

In my NewInspector event handlers I always test for a Note item and just
exit the code if it is one. I never assign it to an Inspector object or add
it to my Inspectors wrapper collections.

Failure to do that will prevent Outlook from closing.

--
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


"Yoav" wrote in message
...
I am using the Application.Inspectors Object to get the Event
"NewInspector"

With this Event I can add a Button to the Outlook Appointment-Form and
setting a Reference Object to the opened Appointment Form so I can get the
Information from this Form as Date/Time ...



It is working great, except one thing. Opening a Note (passing thru the
same NewInspector Event as well) causing an Error when closing Outlook

"Outlook cannot be closed, at least one parameter is invalid" after this
comes a new message that says "The Note will be closed without saving"

But there is no any open Note, why are the messages coming? What can I do
about it?



If I'm not using the Inspectors, the Problem not appears.


Thanks, Yoav



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors GESY Outlook - General Queries 2 March 20th 06 04:28 AM
Unexpected errors Fridgeman Outlook Express 9 February 24th 06 09:26 PM
Outlook Errors Derrick Outlook - General Queries 13 February 13th 06 07:26 PM
Errors and log SAC Outlook - General Queries 0 January 30th 06 02:42 PM
many many many errors :( Laura \( '_' \) Outlook Express 4 January 19th 06 09:42 AM


All times are GMT +1. The time now is 08:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.