WORD automation visible vs. invisible!?

J

Joachim Engel

Hi,

we get different results using WORD via COM:

Word_Application.PropSetVisible( TRUE )
Word_Application.PropSetScreenUpdating( TRUE )
-> Automation works as expected!

Word_Application.PropSetVisible( FALSE )
Word_Application.PropSetScreenUpdating( FALSE )
-> Automation do not works as expected on specific computers!
e.g. inserted lines in a table are missing.

BTW, is there a posibility to block user input
while WORD is visible?

TIA,
Joachim Engel
 
C

Cindy M -WordMVP-

Hi Joachim,

This is typical if you're doing something in Word that depends
on screen-layout. Graphics depend very much on screen layout!

You could try using the Windows API to "lock" the screen
update...
we get different results using WORD via COM:

Word_Application.PropSetVisible( TRUE )
Word_Application.PropSetScreenUpdating( TRUE )
-> Automation works as expected!

Word_Application.PropSetVisible( FALSE )
Word_Application.PropSetScreenUpdating( FALSE )
-> Automation do not works as expected on specific computers!
e.g. inserted lines in a table are missing.

BTW, is there a posibility to block user input
while WORD is visible?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8
2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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