View Single Post
  #4  
Old October 21st 07, 03:09 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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...

Ads