Re: CDO/MAPI Offline to Online Outlook 2003

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ken Slovak - [MVP - Outlook] (kenslovak_at_mvps.org)
Date: 10/07/04


Date: Thu, 7 Oct 2004 09:59:36 -0400

I don't know of any events that fire when the online/offline status is
changed but of course you can check the NameSpace.ExchangeConnectionMode
property to see what's what.

I don't know if this will be helpful to you but take a look at the KB
article http://support.microsoft.com/default.aspx?id=834496

-- 
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
"E. Winston" <nomail@Sharewiththegroup.com> wrote in message
news:Xns957B2CA55C0craddle2gravehotmail@38.119.106.41...
> 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
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet
News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000
Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---


Relevant Pages

  • Re: Users Mailbox on Exchange reporting Larger that actual size.
    ... Outlook will go into OFFLINE mode ... Mail delivers online. ... folders, and syncfolders is empty. ... Is the client in cached mode or offline mode? ...
    (microsoft.public.exchange.misc)
  • Re: CDO/MAPI Offline to Online Outlook 2003
    ... > 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 ... > Online mode but not in Offline mode come back as "nothing". ... Logging on and off the session when the state changes ...
    (microsoft.public.outlook.program_addins)
  • CDO/MAPI Offline to Online Outlook 2003
    ... Everything works fine except when a user starts Outlook in Offline Mode ... Session object to refresh. ... Online mode but not in Offline mode come back as "nothing". ...
    (microsoft.public.outlook.program_vba)
  • CDO/MAPI Offline to Online Outlook 2003
    ... Everything works fine except when a user starts Outlook in Offline Mode ... Session object to refresh. ... Online mode but not in Offline mode come back as "nothing". ...
    (microsoft.public.outlook.program_addins)
  • RE: Cached Mode
    ... Outlook turns to Offline Mode and will not ... automatically switch to online mode again. ... the state back to online mode by right clicking the Outlook icon in the ... | In Outlook utilizing Cached Mode and lost my network connection. ...
    (microsoft.public.outlook.general)