In Delphi, using the ComObj and SHDocVw units, I'm able to create an
"InternetExplorer" object (NOT a VCL control on a form) that allows
the program to create and manipulate properties and events of the
Internet Explorer object. Here is an example:
procedure TForm1.Button1Click(Sender: TObject);
Var ie:variant;
begin
try
ie:=createoleobject('internetexplorer.application');
ie.navigate('https://abcnet.dyndns.com/webwindows.html');
ie.fullscreen:=false;
ie.visible:=true;
except
on e:exception do messagedlg('Microsoft Internet Explorer is not
installed!',mterror,[mbok],0);
end;
end;
procedure TForm1.Button2Click(Sender: TObject);
var
IE: InternetExplorer;
Flags, TargetFrameName, PostData, Headers: Olevariant;
begin
IE := CoInternetExplorer.Create;
Flags := 0; TargetFrameName := 0; Postdata := 0; Headers := 0;
IE.Navigate('https://abcnet.dyndns.com/webwindows.html', Flags,
TargetFrameName, PostData, Headers);
IE.FullScreen := False;
IE.Visible := True;
end;
The question is: How can I do the above using Netscape Navigator?
Again, I'm not talking about the VCL control embedded in the
"mozctl.dll" file. Instead, I want the program to create and manage
an instance of Netscape Navigator already installed on the client PC.
Thanks in advance.