Getting Outlook out of the tray

  • Thread starter Thread starter derobins
  • Start date Start date
D

derobins

Hi,

I have no problem getting Outlook into the tray with
Outlook.ActiveWindow.WindowState = olMinimized

But how can I maximize from this state? olMaximized produces me an
error...

Thx!
 
What error? What is the value of Application.Explorers.Count and Application.Inspectors.Count?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


> On 20 Okt., 21:57, "Sue Mosher [MVP-Outlook]" <[email protected]>
> wrote: >> Have you tried ActiveExplorer.WindowState = olMaximized? >>
>> Sue Mosher, Outlook MVP
>> Author of Microsoft Outlook 2007 Programming:
Yes, I did, I gives me an error.
I believe the problem is that OL is minimized to the tray (next to the
clock) and not to the taskbar...
 
Thanks for your posting, Sue. The fact that Explorers.Count brought me
the value 1, I was able to solve my problem: The command that I was
looking for was Application.ActiveExplorer.Display.


> What error? What is the value of Application.Explorers.Count and Application.Inspectors.Count?
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook 2007 Programming:
> Jumpstart for Power Users and Administrators
> http://www.outlookcode.com/article.aspx?id=54
> > On 20 Okt., 21:57, "Sue Mosher [MVP-Outlook]" <[email protected]>
> > wrote: > >> Have you tried ActiveExplorer.WindowState = olMaximized?
> >> Sue Mosher, Outlook MVP
> >> Author of Microsoft Outlook 2007 Programming:
Yes, I did, I gives me an error.
I believe the problem is that OL is minimized to the tray (next to the
clock) and not to the taskbar...
> >> > Hi,
> >> > I have no problem getting Outlook into the tray with
> >> > Outlook.ActiveWindow.WindowState = olMinimized
> >> > But how can I maximize from this state? olMaximized produces me an
> >> > error...
 
Back
Top