How to know Outlook is being started in Offline mode?

  • Thread starter Thread starter paresh
  • Start date Start date
Status
Not open for further replies.
P

paresh

Hi,

Could anyone please help me to find out the way to know Outlook is being

started in Offline mode? In other words, I want to find out whether Outlook

has not connected/disconnected with Exchange server from my Outlook 2007's

addin OnStartupComplete method.

Thanks.
 
Please open the object browser (f2), switch from <All libraries> to Outlook,

then enter 'offline' into the textbox,and press enter.

Best regards

Michael Bauer

Am Sun, 27 Dec 2009 23:39:01 -0800 schrieb paresh:


> Hi,

> Could anyone please help me to find out the way to know Outlook is being
> started in Offline mode? In other words, I want to find out whether


Outlook
> has not connected/disconnected with Exchange server from my Outlook 2007's
> addin OnStartupComplete method.

> Thanks.
 
Cool... Thanks Michael. I have given code for reference. Please let me know

if you see any amiss.

Private Sub AddinInstance_OnConnection(ByVal Application As Object, _

ByVal ConnectMode As AddInDesignerObjects.ext_ConnectMode, _

ByVal AddInInst As Object, custom() As Variant)

If Outlook.OlExchangeConnectionMode = olOffline Then

MsgBox "Offline mode"

Exit Sub

End If

End Sub

Thanks.

"Michael Bauer " wrote:



> Please open the object browser (f2), switch from <All libraries> to Outlook,
> then enter 'offline' into the textbox,and press enter.

> > Best regards
> Michael Bauer
>

>

> Am Sun, 27 Dec 2009 23:39:01 -0800 schrieb paresh:
>
> > Hi,
> > Could anyone please help me to find out the way to know Outlook is being
> > started in Offline mode? In other words, I want to find out whether

> Outlook
> > has not connected/disconnected with Exchange server from my Outlook 2007's
> > addin OnStartupComplete method.
> > Thanks.

> .
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Outlook macro to run before email is being send Outlook VBA and Custom Forms 3
D Gmail mail is being delivered to a different email inbox in Outlook App 2021 Using Outlook 2
F Email being marked as Spam by Gmail and not being visible in Outlook Using Outlook 5
C Outlook 2016/2019 hangs after being open for an extended period Using Outlook 4
GregS 2016 Contact List being managed by Outlook.com? Using Outlook 1
B Outlook - Mail from safe senders list being sent to Spam Folder Using Outlook 0
T Compacting Outlook 2010 OST results in old emails being re-sent Using Outlook 6
M Upgrade in Progress. Your mailbox is currently being optimized as part of upgrade to Outlook 2010 Using Outlook 9
B Outlook being closed causing problems during copy to Excel Outlook VBA and Custom Forms 6
H Preventing the Send button from being clicked on an Outlook Form Outlook VBA and Custom Forms 1
S Calendar items are not being uploaded to outlook.com after copying Using Outlook.com accounts in Outlook 1
R Mailto link inside Outlook 2010 being cached? Using Outlook 1
L Outlook underlining all text after being sent to recipient Using Outlook 3
J How to Stop OutLook from being Installed Using Outlook 1
P VBA Code being completely ignored by Outlook Using Outlook 7
Terry Sullivan Android Phone E-Mails Not Disappearing After Being Deleted in Outlook 2013 Using Outlook 5
B Permissions - Outlook Public Folders Are Being Deleted Using Outlook 1
M Outlook 2007 with BCM - Tasks being created automatically BCM (Business Contact Manager) 1
C Outlook classic via 365 Using Outlook 1
Dr. Demento Analogous Outlook code to read info into an array (or collection or whatever) Outlook VBA and Custom Forms 7
S Repair Outlook Using Outlook 6
V Outlook Form ListBox is not editable Outlook VBA and Custom Forms 2
F Outlook's contacts Using Outlook 1
D Outlook 2003 stopped dead Using Outlook 2
G Cannot receive emails from gmail account in Outlook 365 Using Outlook 1
E "Cannot display the folder. MS Outlook cannot access the specified file location" Using Outlook 5
P Outlook 2016 Working Offline Using Outlook 2
Rupert Dragwater Cannot reestablish gmail (email address) account in Outlook 365 Using Outlook 12
O Outlook 365 synchronisieren Exchange Server Administration 1
kburrows Outlook Classic - JPG files are corrupted when opened or saved Using Outlook 3
F Sync Outlook Calendar Using Outlook 0
G Change default font size in sticky notes - Outlook Desktop 2021 Using Outlook 2
C VBA in "New Outlook?" Using Outlook 0
D New Outlook with Business Basic Plans Using Outlook 0
D Outlook 2021 not working with Outlook 2003 installed Using Outlook 5
D Outlook 2003 stopped working - get they dialog box asking for username & Password Using Outlook 2
T Outlook 2021 hangs in close on taskbar occasionally Using Outlook 1
M Duplicate removal feature in Outlook 2021 is faulty Using Outlook 2
D.Moore Outlook COM addins source folder Using Outlook 13
P Removing Outlook 365 Account from Send/Receive Using Outlook 3
kburrows Outlook Automatically Merging Contacts Using Outlook 2
A Outlook 2016 Outlook 2016 vs. New Outlook Using Outlook 4
D Outlook Desktop App Email Software Using Outlook 0
efire9207 VBA Outlook Contacts Outlook VBA and Custom Forms 6
M Outlook not logging in to server Using Outlook 0
R Outlook 2021 change view Using Outlook 2
K Outlook font corrupted in some point sizes, resets on close/open Using Outlook 2
J Is the Windows Outlook Tasks module really going to be gone? Using Outlook 6
F Outlook 2010 and Hotmail Using Outlook 1
A Outlook 2021 needs 'enter' for people search Using Outlook 2

Similar threads

Back
Top