Solved

How can I open Firefox and chrome with this code:

Posted on 2011-03-04
3
805 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

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

Title # Comments Views Activity
FMX enumerated colours 2 84
Help on project with Soap 10 48
Print Graphic and Text to Epson TM-T88v 12 185
Installshield for Embarcadero EX 10.1 Berlin 4 20
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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, f…

895 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

14 Experts available now in Live!

Get 1:1 Help Now