comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Can IDL be used to generate microsoft word documents automatically?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Can IDL be used to generate microsoft word documents automatically? [message #66445 is a reply to message #66443] Sun, 10 May 2009 07:22 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On May 10, 10:01 am, Dave <daikan1...@tom.com> wrote:
> Dear people:
>     Everyday, i have lots of word documents to produce, which have the
> same forms but different text and image contents. Please tell me if
> there are any ways to using IDL to generate word automatically? thanks
> a lot.
>
> dave

If you are using Windows and have a fairly recent version of IDL (6.3+
i think), then yes you can theoretically do this using ActiveX/COM
objects. I've tried it however, and have met with mixed results.
It's fairly easy to get Word running with an IDL program, but beyond
that I wasn't able to do much else that was useful. The reason for
this was not anything that was the fault of IDL, but that Word's
object model is so, well, obtuse i guess is the nice way to put it.
So i had the same trouble controlling Word from several different
ActiveX-aware languages, including perl and visual basic itself. But
yes it's theoretically possible, look at IDLcomIDispatch objects in
the IDL help files to get you started, and good luck!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: What is the advantage for IDL to run in background?
Next Topic: Curve Fitting

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:06:20 PDT 2025

Total time taken to generate the page: 2.64406 seconds