Board index » delphi » HTML Component

HTML Component

Can HTML component load html file from local disk?

Any suggestions and demos appreciated!
Buzz

 

Re:HTML Component


Quote
Buzz wrote:

> Can HTML component load html file from local disk?

> Any suggestions and demos appreciated!
> Buzz

Yep, use the following format:
'file:///D|/Download/myhtml.htm';

Where D is the drive , and download the folder ...

sPage: String;

    sPage := 'file:///D|/Download/myhtml.htm';
    htmPage.RequestDoc(sPage);

Hope it help.

Bye
--
Laurent Saragosti
ComPrise Ltd.
39 Hagalim Blvd
Herzliya Pituah
Israel
Phone: 972-9-9598686

Other Threads