Autor Beitrag
Interruptor
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mi 03.07.02 12:19 
hallo ich habe versucht ein Browser zu programmieren. Soweit hat alles functioniert jedoch wenn ich ein neues fenster au mache, öffnet sich immer ein Internet explorer fenster. Das ist aber *mist*e! Also habe ich in newWindow2 mit shellexecute eine neue anwendung öffnen lassen. jedoch habe ich es nicht geschaft den Link in diese Anwendung hienein zu bringen denn ich weis nicht wo er sich befindet!!
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.WebBrowser1NewWindow2(Sender: TObject;
  var ppDisp: IDispatch; var Cancel: WordBool);
begin
   ppDisp := WebBrowser1.Application;
   ShellExecute(handle, 'open', 'ronnybrowser.exe', '?' , '', 
   SW_SHOWNORMAL);
end;

Um eure hilfe Bitte ich doch sehr!!!!
danke!!!

Interruptor
Steffer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 299



BeitragVerfasst: Mi 03.07.02 16:29 
Imho must du deinen Browser als Standardbrowser einrichten, also an die Dateiextensionen *.html usw. binden.
Dann sollte sich dein Browser öffnen.

_________________
Keine Signatur ...
Interruptor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mi 03.07.02 20:03 
Sehr schön!! Kannst du mir auch sagen wie das functioniert? Danke