Seeking help to control Word Application

J

Joseph Geretz

I need to control a Word Application, but I'm not using automation. Instead,
I have a handle to the Word application. I need to signal the word
application to display its document as 'Zoom to Text Width'. How can I send
the appropriate message to the word application?

Any assistance will be very much appreciated!

- Joe Geretz -
 
C

Cindy Meister -WordMVP-

Hi Joseph,
I need to control a Word Application, but I'm not using automation. Instead,
I have a handle to the Word application. I need to signal the word
application to display its document as 'Zoom to Text Width'. How can I send
the appropriate message to the word application?
About the only thing I can imagine would be to use DDE. And DDE requires you
to use the old WordBasic language. The command would be something like
ViewZoom .AutoFit

Unfortunately, I can't tell you where you can find any good material on using
DDE to run Word. But your best bet would be either some very old TechNet CDs
with KB articles for Word 6/95 or a copy of the Word Developer's Kit, 3rd (or
2nd) edition (maybe on Ebay?)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan 24 2003)
http://www.mvps.org/word

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