Solved

TWEbBrowser (IE4) object

Posted on 1998-10-28
2
183 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now