Solved

TWEbBrowser (IE4) object

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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…

757 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

20 Experts available now in Live!

Get 1:1 Help Now