Solved

How can I open Firefox and chrome with this code:

Posted on 2011-03-04
3
793 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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
System restore point 4 77
How to use Hibernate  and delphi ? Does anyone know any tutorial? 2 122
code issue 8 84
Printing problem 2 72
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…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

16 Experts available now in Live!

Get 1:1 Help Now