M
Mike
I noticed that if an Outlook user opens a secondary window in Outlook such as the Calendar
and then quits Outlook by closing the main Outlook window then Outlook remains in memory
as proven by task manager.
This is preventing my code that creates a toolbar button on startup from creating a button
on the Standard toolbar.
In InitHandler.....
If Not objOutlook.ActiveExplorer Is Nothing Then
If objMainButton Is Nothing Then
Set objMainButton = objMainCommandBar.Controls.Add(, , , , True)
With objMainButton
.BeginGroup = True
.FaceId = 794
.Caption = "MyButton"
.Tag = "Blah Blah"
.Style = msoButtonIconAndCaption
End With
End If
End If
What is the best way to handle this?
-mike
and then quits Outlook by closing the main Outlook window then Outlook remains in memory
as proven by task manager.
This is preventing my code that creates a toolbar button on startup from creating a button
on the Standard toolbar.
In InitHandler.....
If Not objOutlook.ActiveExplorer Is Nothing Then
If objMainButton Is Nothing Then
Set objMainButton = objMainCommandBar.Controls.Add(, , , , True)
With objMainButton
.BeginGroup = True
.FaceId = 794
.Caption = "MyButton"
.Tag = "Blah Blah"
.Style = msoButtonIconAndCaption
End With
End If
End If
What is the best way to handle this?
-mike