Try the following steps:
1) Open MS Word and type "Hello World"
2) Save this document as an HTML WebPage file (eg C:\HelloWorld.HTM)
3) In Delphi create a form with a TOLEContainer and add the following code to a Button
The second line gives the error "Invalid Stream Format". Why?
Note: If you save the "Hello World" as a word document it works fine.
How can I get a tOLEContainer to create an instance of MS Word and then load an HTML file for editing?
Surely this can be done - I mean MS Outlook does it.
If you can answer this question then there are more points to be found here...
I am hoping that someone with a little Win API and OLE knowledge can solve this one for me.
I really want to use tOLEContainer or some derivitive or equivalent WinAPI calls.