View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Steve Yandl Steve Yandl is offline
external usenet poster
 
Posts: 284
Default How To Maximize A Window From The Task Bar

As long as you have a solution that works, that is the important thing.
However, you could have used the tasks collection from Word and saved a lot
of time. The 'name' property of a task is the "friendly" name which might
be different than the name of the process (example, "Solitaire" vs
"Sol.exe") but presumably you would know that name.

Steve Yandl


"FourBlades" wrote in message
...
Thanks Duncan and Steve,

However, the application that is running minimized in the taskbar is not
Excel. After two days of trying and now the third day. I finally found
what
I needed using the Windows API. It took me five hours today to complete
the
task. I can't believe how hard it is to work with the API ! You have to
get
the handle to the desktop window, then sequence through all of the
Desktop's
child windows until you get the handle to the window you want, then you
activate that child window.