Hi NG,

I am automating Word via COM and performing extensive operations with the
Visible property set to "False". Unfortunately, whilst running, Word
periodically grabs the input focus for a second or so, then returns it to he
originally focused object. I haven't come across this issue before... is it a
common occurence? Does anyone have any pointers as to what could be causing
this?

Thanks

RE: Hidden Word Instance Grabs Focus Whist Runnng VBA Code by Daren

Daren
Fri Jan 20 10:25:03 CST 2006

Interesting, it looks as if this is an issue related to VSTO 2005 - it
appears that VSTO injects some macro code into the document that grabs
focus... The issue is being investigated.

"Daren" wrote:

> Hi NG,
>
> I am automating Word via COM and performing extensive operations with the
> Visible property set to "False". Unfortunately, whilst running, Word
> periodically grabs the input focus for a second or so, then returns it to he
> originally focused object. I haven't come across this issue before... is it a
> common occurence? Does anyone have any pointers as to what could be causing
> this?
>
> Thanks