Link to home
Start Free TrialLog in
Avatar of hidrau
hidrauFlag for Brazil

asked on

How can I open Firefox and chrome with this code:

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
Avatar of jimyX
jimyX

TWebBrowser is an IE based, you can read this article:

http://www.paranoia.clara.net/articles/taming_the_lizard_with_delphi.html
ASKER CERTIFIED SOLUTION
Avatar of Thommy
Thommy
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hidrau

ASKER

thanks