Hi all,

this has been covered before, though I can't find any usefull links to 
examples. I would like to embed an existing MS Office (Excel or Word) document 
into a Delphi application, and control it programmatically while loaded (and 
visible) as part of my app - NOT in a separate window:

- I've tried TOleContainer - which works for displaying many sorts of ActiveX 
content, but then I can't seem to control it (set Zoom factor, show/hide 
tabcontrol, read/write data etc.)

- Also, I've tried TExcelApplication and TExcelWorkbook - these allow me to 
control/manipulate the file but it will be launched in a new window or stay 
hidden, depending on the Visible property.

Most (all?) references I found so far cover either the first OR the latter, 
whereas most documentation is found on the latter anyway (Deborah Pate's, 
Expert-Exchange, Delphi newsgroups and many others). Delphi Built-in Help 
doesn't provide me with any example neither.

What I'm looking for, is these to features combined. Obviously I prefer the 
TxxxApplication approach, as it uses early binding.

Using TurboDelphi / BDS2006

Thanks for any insights,
  Justus Janssen

Reply via email to