Skip to main content
GameDev.net gamedev.net
🔒 Locked

Getting Internet Explorer information

Started by Worthless_Knowledge Jan 27, 2004 at 5:04 PM 5 replies 500+ views
Original Post
Worthless_Knowledge
Worthless_Knowledge
Is there any way to get info from a currently running internet explorer. I want to get the source code when the user goes to a new address.
Indigo Darkwolf
Indigo Darkwolf
What do you mean by "source code"?




"Remember: Silly is a state of Mind, Stupid is a way of Life." -- Dave Butler

Globals are not evil. Singletons are evil.
Michalson
Michalson
C++

Delphi:

uses
shdocvw_tlb;

procedure TForm1.Button1Click(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;
Worthless_Knowledge
Worthless_Knowledge
quote:
Original post by Indigo Darkwolf
What do you mean by "source code"?



I mean the html source.
Willm
Willm
I suspect what you are looking for is Browser Helper Objects. A plugin format for IE. Search msdn for ''BHO''.

BHOs are often used for spyware - I''m sure you wouldn''t be doing anything like that...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.