Ogni
asked on
Reading the ie addressline content from a second program
Hello !
I'm working with delphi 5 and Win98/XP.
Is it possible to read the actual content of browser address-lines (netscape and ie) from a second program (my delphi app) running in the background when doing a button-click there?
If someone have a few code lines or a link for additional help for me i'll be very happy!
Thanks a lot!
Best regards,
Ingo
I'm working with delphi 5 and Win98/XP.
Is it possible to read the actual content of browser address-lines (netscape and ie) from a second program (my delphi app) running in the background when doing a button-click there?
If someone have a few code lines or a link for additional help for me i'll be very happy!
Thanks a lot!
Best regards,
Ingo
The link i provided, should do it for you, but you can also check out this site:
http://www.euromind.com/iedelphi/index.htm
for other IE related issues:
Shane
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oh,
uses ..., DDEMan;
uses ..., DDEMan;
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The GetUrlFromIE function is declared in the interface section as
function GetUrlFromIE (Handle: THandle; List: TStringList): boolean; stdcall;
This function is an application-defined callback function that receives top-level window handles as a result of a call to the EnumWindows.
Again, this is all laid out in a very nice example here:
http://delphi.about.com/library/weekly/aa060303a.htm
Shane
function GetUrlFromIE (Handle: THandle; List: TStringList): boolean; stdcall;
This function is an application-defined callback function that receives top-level window handles as a result of a call to the EnumWindows.
Again, this is all laid out in a very nice example here:
http://delphi.about.com/library/weekly/aa060303a.htm
Shane
ASKER
Hi Eddie, hi Shane,
Thanks a lot for your help!!!
I think splitting the points is fair.
Best regards,
Ingo
Thanks a lot for your help!!!
I think splitting the points is fair.
Best regards,
Ingo
You did say from both NS and IE, right?
http://delphi.about.com/library/weekly/aa060303a.htm
Shane