Solved

How can I open Firefox and chrome with this code:

Posted on 2011-03-04
3
832 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 105
Delphi 2 77
FMX and jaudiotracker playing memory stream 29 98
Connect to SQL 2008 r2 server over the Internet 4 19
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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