Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Getting Outlook out of the tray (http://www.outlookbanter.com/outlook-vba/59434-getting-outlook-out-tray.html)

derobins October 20th 07 07:56 PM

Getting Outlook out of the tray
 
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!


Sue Mosher [MVP-Outlook] October 20th 07 08:57 PM

Getting Outlook out of the tray
 
Have you tried ActiveExplorer.WindowState = olMaximized?

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


"derobins" wrote in message oups.com...
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!


derobins October 20th 07 10:06 PM

Getting Outlook out of the tray
 
On 20 Okt., 21:57, "Sue Mosher [MVP-Outlook]"
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...
Anyone?

Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

"derobins" wrote in ooglegroups.com...
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!




Sue Mosher [MVP-Outlook] October 21st 07 03:09 PM

Getting Outlook out of the tray
 
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


"derobins" wrote in message ups.com...
On 20 Okt., 21:57, "Sue Mosher [MVP-Outlook]"
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...

"derobins" wrote in ooglegroups.com...
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...


derobins October 21st 07 04:01 PM

Getting Outlook out of the tray
 
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.


On 21 Okt., 16:09, "Sue Mosher [MVP-Outlook]"
wrote:
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

"derobins" wrote in oglegroups.com...
On 20 Okt., 21:57, "Sue Mosher [MVP-Outlook]"
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...


"derobins" wrote in ooglegroups.com...
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...





All times are GMT +1. The time now is 10:38 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com