In delphi, how do you embed Excel in a form and show excel components on the component pallette? -


years ago remember installing excel , office components onto component palette in delphi 5. either through activex or com, or typelib, there way install components. components think drag , drop onto form , spreadsheet embedded app (or microsoft word, etc.).

the information can find on internet using olecontainers... component in system tab of delphi 5. not remember being olecontainer when used components embedding excel, rather remember installing actual excel , office components onto component palette somehow... components may have been generated ocx file or typelib, not remember. 1 find or obtain files generate excel , office components on component palette? ocx , come copy of ms office have on computer?

are there excel com or activex components 1 can install? remembering correctly, or way use excel through olecontainer component?

edit: may have been automation server component excel or office

you can this:

in formcreate (or onactivate..)

olecontainer1.createlinktofile( edit1.text, false ); 

this result:

result


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -