如何实时记录本机浏览过的网页url?请知道的把代码贴出来吧

解决方案 »

  1.   

    IUrlHistoryStg   Interface  
       
      --------------------------------------------------------------------------------  
       
      This   interface   manages   Microsoft®   Internet   Explorer   history   for   the   current   user.  
       
      IUrlHistoryStg   Members  
       
      AddUrl   Places   the   specified   URL   into   the   history.   If   the   URL   does   not   exist   in   the   history,   an   entry   is   created   in   the   history.   If   the   URL   does   exist   in   the   history,   it   is   overwritten.    
      BindToObject   Not   currently   implemented.    
      DeleteUrl   Deletes   all   instances   of   the   specified   URL   from   the   history.    
      EnumUrls   Returns   an   interface   to   an   enumerator   of   the   history's   visited   links.      
      QueryUrl   Queries   the   history   and   reports   whether   the   URL   passed   as   the   pocsUrl   parameter   has   been   visited   by   the   current   user.    
      IUrlHistoryStg2   Interface  
       
      --------------------------------------------------------------------------------  
       
      This   interface   provides   additional   features   for   managing   the   user's   history.  
       
      IUrlHistoryStg2   Members  
       
      AddUrlAndNotify   Provides   an   advanced   method   of   adding   a   URL   to   the   history.    
      ClearHistory   Clears   history   on   a   per-user   basis
      

  2.   

    1.IUrlHistoryStg Interface 
        This interface manages Microsoft Internet Explorer history for the current user.
    2.IUrlHistoryStg2 Interface 
        This interface provides additional features for managing the user's history.
    3.IEnumSTATURL Interface 
        This interface enumerates the items in the history cache.