Solved

How can I open Firefox and chrome with this code:

Posted on 2011-03-04
3
819 Views
Last Modified: 2012-05-11
Today I can open Internet Explorer, but can I do the same with Chrome and FireFox?

  ie := CreateOleObject('internetexplorer.Application') as IWebBrowser2;
  ie.Left := 0;
  ie.Top := 0;
  ie.Width := Screen.Width;
  ie.Height := Screen.Height;
  ie.MenuBar := true;
  ie.AddressBar := True;
  ie.Resizable := True;
  ie.StatusBar := True;
  ie.ToolBar := 0;
  Url := 'intranet.hidrautorque.com.br/spr/entradapr.asp';
  ie.Navigate2(Url,Flags,TargetFrameName,PostData,Headers);
 ie.visible := true
0
Comment
Question by:hidrau
3 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35036476
TWebBrowser is an IE based, you can read this article:

http://www.paranoia.clara.net/articles/taming_the_lizard_with_delphi.html
0
 
LVL 19

Accepted Solution

by:
Thommy earned 500 total points
ID: 35038575
You have to use Modzilla ActiveX Control...

I have already answered an EE post concerning this issue a month ago...

Mozilla control in delphi webbrowser
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26801957.html

Have a look to learn how to use Modzilla ActiveX Control...
0
 
LVL 1

Author Closing Comment

by:hidrau
ID: 35082458
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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 …

861 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