Solved

TWEbBrowser (IE4) object

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Jpg /PNG To GIF 5 138
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 67
PHP preg_replace code convert to Delphi 14 57
DBCtrlGrid, Delphi, Scroll 7 15
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

822 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