InternetExplorer OLE
ich erstelle per
Delphi-Quellcode:
ein IE Objekt. Wie kann ich dieses in den Vordergrund bringen?
CreateOleObject('InternetExplorer.Application');
(das Taskicon flasht nur...?) |
Re: InternetExplorer OLE
Warum nimmst du kein TWebBrowser?
|
Re: InternetExplorer OLE
Ich möchte einfach gewisse Links extern öffnen nur über CreateOleObject
|
Re: InternetExplorer OLE
Zitat:
|
Re: InternetExplorer OLE
mal schnell und hässlich ;)
Delphi-Quellcode:
ups, ne url bruachst auch noch:
procedure ieopen;
var ieo : olevariant; begin ieo := CreateOleObject('InternetExplorer.Application'); ieo.visible := true; //hier rest end; procedure TForm1.Button1Click(Sender: TObject); begin ieopen; end;
Delphi-Quellcode:
procedure ieopen;
var ieo : olevariant; begin ieo := CreateOleObject('InternetExplorer.Application'); ieo.visible := true; //hier rest ieo.navigate('http://bmw.de'); end; |
Re: InternetExplorer OLE
Danke Daniel, soweit war ich ja auch nur was schreibe ich bei "hier rest", damit es nicht flasht?
|
Re: InternetExplorer OLE
Ich weiss nicht was Du für ein Problem mit dem flashen hast, bei mir öffnet sich der IE ganz normal und zeigt mir die gewünschte Seite an. Der Code an sich funktioniert ja...
|
Re: InternetExplorer OLE
es flasht auch so noch:
Delphi-Quellcode:
SetForegroundWindow(ieo.HWND);
|
Re: InternetExplorer OLE
*PUSH* nach 6 Tagen. Problem immer noch nicht gelöst.
|
DP-Maintenance
Dieses Thema wurde von "Phoenix" von "Internet / LAN / ASP.NET" nach "Windows API / MS.NET Framework API" verschoben.
Hat eher mit COM/DCOM-Problematik zu tun, nicht wirklich mit Internet, auch wenns um das Internet-Explorer Objekt geht. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:40 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz