E
E. Winston
Hi All,
I have a VB addin running in Outlook 2003 with Exchange in Cahce mode.
Everything works fine except when a user starts Outlook in Offline Mode
and switches to Online mode. No matter what I do I can't seem to get my
Session object to refresh. My app continues to see the InfoStores as
Offline. Therefore any requests for data that are normally available in
Online mode but not in Offline mode come back as "nothing". The only way
to correct this is for the user to restart Outlook. Thus far I have
tried:
1. Logging on and off the session when the state changes
2. Destroying and recreating all my session related objects
All to no avail. Has anyone seen this before? Any recommendations how I
can address this problem?
On another note assuming I can get past the above, does anyone have any
good methods for trapping the change in state (offline to online and
vice versa) through an event driven model?
Thanks in advance!
-Ed
I have a VB addin running in Outlook 2003 with Exchange in Cahce mode.
Everything works fine except when a user starts Outlook in Offline Mode
and switches to Online mode. No matter what I do I can't seem to get my
Session object to refresh. My app continues to see the InfoStores as
Offline. Therefore any requests for data that are normally available in
Online mode but not in Offline mode come back as "nothing". The only way
to correct this is for the user to restart Outlook. Thus far I have
tried:
1. Logging on and off the session when the state changes
2. Destroying and recreating all my session related objects
All to no avail. Has anyone seen this before? Any recommendations how I
can address this problem?
On another note assuming I can get past the above, does anyone have any
good methods for trapping the change in state (offline to online and
vice versa) through an event driven model?
Thanks in advance!
-Ed