Nicole
That's what TOleContainers are for (or you can use a
TTWebbrowser, too). Is that an option?
--
Deborah Pate (TeamB) http://delphi-jedi.org
Use Borland servers; TeamB don't see posts via ISPs
http://www.borland.com/newsgroups/genl_faqs.html
"Deborah Pate (TeamB)" <d.p...@cableinet.co.not-this-bit.uk> wrote in
message news:VA.00000a8...@cableinet.co.not-this-bit.uk...
: <<Nicole Krueger:
Disclaimer: I really, really hate TOleContainers and would
never dream of using one myself, unless I absolutely had to
as a database retrieval mechanism. Automation is slow and
bug-ridden enough without them, IMO. :)
Start a new application and drop a TOleContainer on a form.
Right-click on it, choose Insert Object, and in the dialog
you get select either CreateNew|Microsoft Word Document or
CreateFromFile and an appropriate Word document (which must
have a .doc extension - the container works out which
application to run from the extension). Compile and run,
then doubleclick on the container to activate it. (If you
prefer to activate it in code, put a line like
OleContainer1.DoVerb(ovShow);
in your form's OnShow method, for example.)
That's the basics. There's an olecontainer demo in the
Delphi\Demos\Activex folder that might interest you, too.
"Deborah Pate (TeamB)" <d.p...@cableinet.co.not-this-bit.uk> wrote in
message news:VA.00000a9...@cableinet.co.not-this-bit.uk...
: <<Werner Cloete:
: Could you give us a quick example of how this is
: accomplished..? It would be greatly appreciated... :o)
: >>
:
: Disclaimer: I really, really hate TOleContainers and would
: never dream of using one myself, unless I absolutely had to
: as a database retrieval mechanism. Automation is slow and
: bug-ridden enough without them, IMO. :)
:
Hehehe..! :o)
<SNIP>