>>
>>#DEFINE wdWindowStateMinimize 2
>>#DEFINE wdWindowStateMaximize 1
>>
>>loWord.WindowState = wdWindowStateMinimize
>>loWord.WindowState = wdWindowStateMaximize
>>
>>based on this FAQ
>>
http://forum.foxclub.ru/read.php?32,177182,258927#msg-258927 (in Russian)
>
>thanks naomi
>the maximize does in fact work but again opens up behind vfp
>k
Did you try both commands as I showed (first minimize, then maximize)? If it doesn't work for you, then check other solutions in that FAQ.
I tried it myself right now and it worked - Word was brought to the front.
If it's not broken, fix it until it is.
My Blog