I know how to put a button on IE's toolbar and clicking it runs my program.

How can I pass the contents of the IE window to my program?





Thanks