Solved

TWEbBrowser (IE4) object

Posted on 1998-10-28
2
186 Views
Last Modified: 2010-04-06
What is TWEbBrowser (IE4) object. Where can I find it and can it redirect a download from IE4 to my application?
0
Comment
Question by:npatel
2 Comments
 
LVL 2

Expert Comment

by:freter
ID: 1344750
The web browser object is an active x control you can use to mimic a web browser in your own apps. It is delivered with IE3 and IE4, so there is no need to download it from anywhere. But: you'll have to import it with the ActiveX import utility that can be reached via Delphi's main menu.

If you are in spite of sources, just ask.

rgds, Freter
0
 

Accepted Solution

by:
BrumbelowM earned 50 total points
ID: 1344751
Go to Install ActiveX components and install Microsoft Internet Controls.  It will then appear in your ActiveX tab.  

To go to a url use this.

function GotoURL( TheURL : String) : Boolean;
var
  url,flags,targetframename,postdata,headers: OLEVariant;
begin
  try
    WebBrowser1.SetFocus;
    url:= TheURL;
    flags:=0;
    targetframename:= '_self';
    headers:='';
    postdata:='';
    WebBrowser1.Navigate(url,flags,targetframename,postdata,headers);
  except
    Result := False;
  end;
  Result := True;
end;

Just pass it the URL you want to go to.

There are a ton of functions like

WebBrowser1.Back
WebBrowser1.Forward
WebBrowser1.Refresh

to name a few...

You can not direct a download from IE4 to your application, but you can do the opposite.

Let me know if you need more info...

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question