Detect current URL in IE & Get source

Hello all,

I need to detect  the current URL Addres of the active window from IE and
get the source from it? Is there anyone how have any information how I can
do this?

Thanks in advance!!!

John