Hi!

I'm using word automation from HTML to open Word and various documents. The
first time (when I open the application) Word and the document shows. The
second time (when Word is already open) it dosn't always show Word, instead
the minimized icon just flickers shortly in the task bar. I'd like the
document to show/get focus every time.

Any ideas?

Thx!

/e

RE: Word automation by oldman

oldman
Thu Apr 12 18:54:02 CDT 2007

Hi,

To show the current document:

activedocument.activate

old man

"eric" wrote:

> Hi!
>
> I'm using word automation from HTML to open Word and various documents. The
> first time (when I open the application) Word and the document shows. The
> second time (when Word is already open) it dosn't always show Word, instead
> the minimized icon just flickers shortly in the task bar. I'd like the
> document to show/get focus every time.
>
> Any ideas?
>
> Thx!
>
> /e
>
>
>

Re: Word automation by eric

eric
Mon Apr 16 01:16:08 CDT 2007

Thx, but no difference.

/e
"old man" <oldman@discussions.microsoft.com> skrev i meddelandet
news:945B733C-DAA1-47B5-8F52-0A4DE04C99D9@microsoft.com...
> Hi,
>
> To show the current document:
>
> activedocument.activate
>
> old man
>
> "eric" wrote:
>
>> Hi!
>>
>> I'm using word automation from HTML to open Word and various documents.
>> The
>> first time (when I open the application) Word and the document shows. The
>> second time (when Word is already open) it dosn't always show Word,
>> instead
>> the minimized icon just flickers shortly in the task bar. I'd like the
>> document to show/get focus every time.
>>
>> Any ideas?
>>
>> Thx!
>>
>> /e
>>
>>
>>



Re: Word automation by Russ

Russ
Wed Jun 20 03:32:36 CDT 2007

Eric,
after
activedocument.activate
Try
ActiveWindow.WindowState = wdWindowStateMaximize
Or
ActiveWindow.WindowState = wdWindowStateNormal

> Thx, but no difference.
>
> /e
> "old man" <oldman@discussions.microsoft.com> skrev i meddelandet
> news:945B733C-DAA1-47B5-8F52-0A4DE04C99D9@microsoft.com...
>> Hi,
>>
>> To show the current document:
>>
>> activedocument.activate
>>
>> old man
>>
>> "eric" wrote:
>>
>>> Hi!
>>>
>>> I'm using word automation from HTML to open Word and various documents.
>>> The
>>> first time (when I open the application) Word and the document shows. The
>>> second time (when Word is already open) it dosn't always show Word,
>>> instead
>>> the minimized icon just flickers shortly in the task bar. I'd like the
>>> document to show/get focus every time.
>>>
>>> Any ideas?
>>>
>>> Thx!
>>>
>>> /e
>>>
>>>
>>>
>
>

--
Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID