How Can I Display an ".HTM" file in Delphi?

I have been using Delphi for several years but I am not really very expert. I do have Delphi v7.2 and I would like to display some info I have taken from an HTML file.

Actually, I accessed a web site on the net and then saved the page as an ".HTM" file. The page is very basic.

I would like to be able to write a Delphi app that takes some or all of the data from an ".HTM" file and displays it on the screen and then interacts with the user and then blank the screen and display some other ".HTM" file.

Is there any simple way to do this? I have read some info from one site but it was extremely complicated and I couldn't get it to work.

Part of the problem was that I had to use a THTMLViewer component and I just couldn't find a way to make it work. The compiler kept telling me that it could not find some simple ".DCU" files - such as "variants.dcu".

Can anyone show me a simple working example that just reads a file containing an ".HTM" file and displays it in a Delphi app?

I anticipate that my app will not be run over the Internet. It is something that a single user will run in a "standalone" mode.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!