Please post the Outlook versions you are supporting when you post.
If your Outlook version supports it you can use
NameSpace.ExchangeConnectionMode. Use the Object Browser to see what return
values are possible.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Stop method of Sync object is not workin"
<StopmethodofSyncobjectisnotworkin.RemoveThis@discussions.microsoft.com> wrote in
message news:D66A0D2D-6C17-4389-AD03-EBC01812067F@microsoft.com...
> Hi All,
>
> I want to check programatically wether Exchange server is disconnected
> with
> Outlook or not.If i am using offline property of Namespace object it is
> working only if user is working offline its not working if user is
> disconnected from exchange server.
>
> Please suggest me how can I find out Exchange is disconnected or not with
> outlook.
>
> Thanks in advance.