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
P My Feedback to Microsoft and their response; also New Outlook roadmap Using Outlook 0
A New Outlook - Cannot drag IMAP emails to Task List in MyDay Using Outlook 1
L Android Outlook Doesn't Update PC Notification Changes Using Outlook 0
A How to open Excel file saved in Outlook folder? Outlook VBA and Custom Forms 4
D.Moore Outlook desktop client suggested searches question Using Outlook 18
Y Outlook 2016 (64-bit) Copy Local Cal. Events to Another Cal. with Modified Reminder time Using Outlook 2
T Outlook 2019 While connecting an IMAP account in "classic" Outlook 2024 I caused a massive duplication of emails on the server (death loop) Using Outlook 5
D Cannot logon to Outlook.com, or outlook on Mac, outlook not updating on ipad, iphone Using Outlook 1
J unable to get my new install of Outlook to display mailboxes in the single-line format. Using Outlook 1
D Legacy Microsoft Outlook for Mac Support will end in Oct 2025 Using Outlook 5
C Nasty Bug Lurking In Outlook For Years. The Trigger. Any Fix Or Workaround? Using Outlook 11
R Auto clicking Hyperlink in outlook Outlook VBA and Custom Forms 7
ughlook Open multiple contacts in NEW Outlook? Using Outlook 3
G Outlook translation feature is off Using Outlook 2
J Outlook 2010 does not let me put any account Using Outlook.com accounts in Outlook 3
P 3 of 5 PST files don't install from d:\outlook but only from D:\ Using Outlook 7
HarvMan January Windows 10 preview update force installs new Outlook Using Outlook 1
L Outlook 2010 - new installation on Windows 11 - aplzod32.dll is not a valid Add-in Using Outlook 12
J Outlook troubleshooting/logging - option grayed out Using Outlook 2
B Arrows missing from Outlook emails vertical scrollbar Using Outlook 0
G Outlook 2021 (New) doesn't respect default browser Using Outlook 9
B Outlook or iPhone turning tabs into spaces in Outlook Notes Using Outlook 1
P newly installed Office 365 includes OLD Outlook Using Outlook 6
R Outlook ribbon menu default? Using Outlook 7
H Spam email in Gmail not visible in Outlook Using Outlook 3
J How to transfer Win 10 Outlook to new Windows 11 pc? Using Outlook 16
J Renegade spam URL line displayed in old local Outlook 365 email title Using Outlook 3
G Reduce whitespace in Outlook desktop Contact Cards display Using Outlook 3
C Outlook classic via 365 Using Outlook 2
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 8
V Outlook Form ListBox is not editable Outlook VBA and Custom Forms 2

Similar threads

Back
Top