OLE Automation in Delphi5

hi

do you have any examples of OLE Automation using the new ExcelOleObject, ExcelApplication, ExcelWorkSheet and ExcelWorkBook components
in Delphi5. i've managed to connect them up and create workbooks and worksheets but am unsure if I've done so correctly.  Help
is scant on these objects so i've had to rely on some degree of intuition.
Also I cannot insert an excel spreadsheet created through the above components into an OLE container at run time.

I NEED TO KNOW HOW TO DO THE ABOVE WITH NEW D5 COMPONENTS

Any help would be much appreciated..


ekramurAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ellessarConnect With a Mentor Commented:
Visit Deborah Pate's web site. She is a member of TeamB from Inprise and will answer any questions you have regarding oleautomation.

You can get the Delphi 5 and Excel stuff here:

http://www.djpate.freeserve.co.uk/AutoExcl.htm

and her home page where she discusses general oleautomation stuff can be found here:

http://www.djpate.freeserve.co.uk/Automation.htm


0
 
intheCommented:
these may help:

there are tutorial (with code) about automating excel here:

http://hometown.aol.com/charliecal/TechPapers/DelphiWord.htm 

also a tutorial from borland:(see examples.zip for code)
http://www.inprise.nl/delphi/papers/microexcel/me3.html 

and another demo project here for putting data into excel using dde:
http://inthe.future.easyspace.com/delphi/files/exceldde.zip 
0
 
ekramurAuthor Commented:
Edited text of question.
0
 
ekramurAuthor Commented:
Thanks for the urls but I've already checked these out. the problem is that none of the urls use the new Excel components that ship with Delphi5.
I would like to use these components because in theory at least the automation process should be a lot simpler as they are excel wrappers.
I cannot attach an Excel spreadsheet to a OLE Container if it is created via one of the new components


0
 
ekramurAuthor Commented:
thanx for the help.  after much digging around the answer is that OLe Automation with d5 components and an OLe container can't be done !!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.