Delphi-PRAXiS
Seite 1 von 3  1 23      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi InternetExplorer OLE (https://www.delphipraxis.net/75601-internetexplorer-ole.html)

API 22. Aug 2006 08:56


InternetExplorer OLE
 
ich erstelle per
Delphi-Quellcode:
CreateOleObject('InternetExplorer.Application');
ein IE Objekt. Wie kann ich dieses in den Vordergrund bringen?
(das Taskicon flasht nur...?)

mkinzler 22. Aug 2006 09:18

Re: InternetExplorer OLE
 
Warum nimmst du kein TWebBrowser?

API 22. Aug 2006 09:22

Re: InternetExplorer OLE
 
Ich möchte einfach gewisse Links extern öffnen nur über CreateOleObject

mkinzler 22. Aug 2006 09:39

Re: InternetExplorer OLE
 
Zitat:

Wie kann ich dieses in den Vordergrund bringen?
Kommt auf das Objekt an. Schon mit .Show usw versucht?

Daniel B 22. Aug 2006 09:41

Re: InternetExplorer OLE
 
mal schnell und hässlich ;)

Delphi-Quellcode:
procedure ieopen;
var
  ieo : olevariant;
begin
  ieo := CreateOleObject('InternetExplorer.Application');
  ieo.visible := true;
  //hier rest
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
ieopen;
end;
ups, ne url bruachst auch noch:
Delphi-Quellcode:
procedure ieopen;
var
  ieo : olevariant;
begin
  ieo := CreateOleObject('InternetExplorer.Application');
  ieo.visible := true;
  //hier rest
  ieo.navigate('http://bmw.de');
end;

API 22. Aug 2006 09:43

Re: InternetExplorer OLE
 
Danke Daniel, soweit war ich ja auch nur was schreibe ich bei "hier rest", damit es nicht flasht?

Daniel B 22. Aug 2006 09:44

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...

API 22. Aug 2006 09:46

Re: InternetExplorer OLE
 
es flasht auch so noch:
Delphi-Quellcode:
SetForegroundWindow(ieo.HWND);

API 28. Aug 2006 16:24

Re: InternetExplorer OLE
 
*PUSH* nach 6 Tagen. Problem immer noch nicht gelöst.

DP-Maintenance 28. Aug 2006 16:36

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.
Seite 1 von 3  1 23      

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