Hidden Word Instance Grabs Focus Whist Runnng VBA Code

D

Daren

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
 
D

Daren

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top