Janfry


In Windows XP, Word 2003 SP2, I use Task.Activate() to give focus to the Word window
to show the document I've launched, but the Word-task doesn't activate itself, it remains blinking and I must click with the mouse to show the Word.

I've tested with Task.Activate(True) and Task.Activate(False), Task.Visible(True), Task.WindowState, etc.. but nothing works, always blinking.

However, if Word is not launched all works fine always, even with Active(True).

Any suggestions or comments would be appreciated.

Regards,
Janfry




Re: Activate task

Shasur



IF you have the window then try using

Windows(1).WindowState = wdWindowStateMaximize

Cheers

Shasur