Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > VCL

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2012, 09:55 AM
part4 part4 is offline
Junior Member
 
Join Date: Aug 2011
Posts: 4
Default Loading html code directly into a memo

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

Last edited by part4; 07-24-2012 at 06:08 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.