如何得到当前打开的ie的IHtmlWindow2?

解决方案 »

  1.   

    http://www.codeguru.com/ieprogram/connect2IE4.shtmlConnecting to a running instance of Internet Explorer - Peter Nalyvayko (1998/12/12) http://www.codeguru.com/ieprogram/enumIE.html
    Connecting to Running Instances of Internet Explorer - Venu Vemula & Robert Walker (2001/01/16)
    Uses shell interface to connect to and listen to events of running instances of IE 
      

  2.   

    another method:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q249232