Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / September 2003



Tip: Looking for answers? Try searching our database.

Seeking help to control Word Application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joseph Geretz - 29 Sep 2003 19:19 GMT
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 -
Cindy Meister  -WordMVP- - 30 Sep 2003 13:21 GMT
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 :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.