ViewXML property not working for some Outlook calendar

S

Sebastien

Hi,

I try to find what I am looking for on OutlookCode.com forums, but didn't
find any answer.
We have, in my firm, several Outlook Calendar (shared calendar), running on
an Exchange server.
We have an application that uses an Outlook View Control (AxViewCtl, an
ActiveX component) in a C# Windows form (it is NOT an Add-in).
To have a personnal configuration, we use the ViewXML property to set some
settings.
For most of the calendar, it works without any problem, but for some of them
(recently created), I can't set the ViewXML property.
When I try, this throw an COMInteropException with a message like "Exception
HRESULT 0xAB9.....".
I tried a simple thing like this (after initialization of the OVC):

Code:
 calendar.viewXML = calendar.viewXML

I had the same exception.
If anyone has any idea, I would be very greatful.
Thanks for any help, have a nice day.

Sincerely,

Sebastien
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top