Exceptions when have another add-in on the outlook

Add-in Express™ Support Service
That's what is more important than anything else

Exceptions when have another add-in on the outlook
 
amihai an




Posts: 2
Joined: 2006-10-05
hi
I have 2 questions:

1.
When i have another add-in on the outlook (one that i created)
and i use your helloWorld demo and add it adx ExplorerSelectionChange event
after few change of selection it throw InvalidCastException

and if i try on the event to change the adxOlFormsCollectionItem1.Enabled value then after few change of selection it throw AddinExpress.OL.OLExplorer error.

Do you know why is it happens? and do you support working with others add-ins?

2.
How can i change at runtime the size and location of the form/pane?

thanks
Posted 05 Oct, 2006 11:04:56 Top
Fedor Shihantsov


Add-in Express team


Posts: 1188
Joined: 2005-01-11
Hi,

Whenever you change any ADXOlFormsCollectionItem’s properties, ADXOlFormsManager removes all forms, creates a new form for the current folder if the corresponding item is enabled. But the Inspector ADXOlForm will show up after Inspector reopening.

1. Could you please send me your code from the ExplorerSelectionChange event?

> do you support working with others add-ins?
We support the work of some addins but we don't support more than one subpane for a folder or an inspector.

2. In the last version of ADX Extensions (1.04.901) you can change the size of a current form.
To change the location you can use only the adxOlFormsCollectionItem property. But don't forget to remove the forms, and changing the location will not work with Inspector.


Posted 06 Oct, 2006 08:16:28 Top
amihai an




Posts: 2
Joined: 2006-10-05
Thanks,
but the InvalidCastException occured without any code at the ExplorerSelectionChange event, gust the event is enough.
Posted 10 Oct, 2006 10:25:44 Top
Fedor Shihantsov


Add-in Express team


Posts: 1188
Joined: 2005-01-11
I can not reproduce InvalidCastException.
What Outlook version do you use?

Could you please give me more information about the AddinExpress.OL.OLExplorer error?
Possibly, you mean AddinExpress.OL.OLExplorerEvents?
Posted 11 Oct, 2006 08:03:47 Top