Saving web-content with WebBrowser via cache... ?
Posted on 2001-09-04
I'm working with Delphi 5 Enterprise (engl.version), WinNT 4.0 and Win98se.
I've built a small webbrowser (with your help ;-) ...
Now i've the idea to read the web-content offline. So i begin with a downloadbutton and...
function DownloadFile(SourceFile, DestFile: string): Boolean;
Result := UrlDownloadToFile(nil, PChar(SourceFile), PChar(DestFile), 0, nil) = 0;
Result := False;
If the web-content is built via script (...asp?123...) this isn't a solution. Now i've the idea that the whole webcontent should be in my browser-cache ... The best: Without seeing it before ;-)
Then i can read all with
WebBrowser1.Offline := True ...
How can i do this?
Are there any solutions, tips or tricks?
Thanks a lot!
BTW: 110 points is all i have ;-)