hello guys
i am looking for a code to load the html code of a webpage online (not stored localy) directly into a memo without the need to download the page to my computer
and currently downloading the html file and load it to the memo using this function
Code:
function Download_HTM(const sURL, sLocalFileName : string): boolean;
begin
Result := True;
with TDownLoadURL.Create(nil) do
try
URL:=sURL;
Filename:=sLocalFileName;
try
ExecuteTarget(nil) ;
except
Result:=False
end;
finally
Free;
end;
end;
and that is waste of time