View Single Post
  #5  
Old October 21st 07, 04:01 PM posted to microsoft.public.outlook.program_vba
derobins
external usenet poster
 
Posts: 7
Default 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...



Ads