HTMLViewer.LoadPage: where to store relatives files ?

Hi folks,

I want to store some web pages, to play them back locally without internet access.
I can load an URL, then store the html text locally.
then I know how to process src and hrefs to store the relatives files, pictures inside this html page.

but if I want to read the html page back, without internet, where do I store the other relatives files ?
in the same folder as the main html page ? or ?

thanks.

What browsers do to store web pages is to modify each src in the page source so it points to a new Files folder.

You would have to do the same.

thanks Michel, this works.