Hallo !!!
ich habe im swissdelphicenter folgenden code gefunden:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
| uses shdocvw_tlb; procedure TForm1.Button2Click(Sender: TObject); var x: Integer; Sw: IShellWindows; begin sw := CoShellWindows.Create; for x := 0 to SW.Count - 1 do Listbox1.Items.Add((Sw.Item(x) as IWebbrowser2).LocationUrl); end; |
der soll angeblich die URLs aller IE instanzen auslesen und in eine Listbox adden. tut er aber nicht !
ausserdem hab ich diese unit die in uses steht nicht.
hat die jemand oder kann mir jemand helfen (alternativer code oder so).
der komplette artikel von den schweizern ist
www.swissdelphicente.../showcode.php?id=198
In the beginning was the word.
And the word was content-type: text/plain.