none
IE history in C#

Answers

  • No my friend. i want IE history not just one i've defined.but no problem because I found it.

    1)first of all download ponta file form above link.

    2)add UrlHistoryLibrary.dll in debug folder into refrence.

    3) write this code in form load:

     

    UrlHistoryWrapperClass urlHistory;
    UrlHistoryWrapperClass.STATURLEnumerator enumerator;
     List<STATURL> list = new List<STATURL>();
    
                urlHistory = new UrlHistoryWrapperClass();
                enumerator = urlHistory.GetEnumerator();
    
                enumerator.GetUrlHistory(list);
    
                foreach (STATURL str in list)
                    listBox1.Items.Add(str.URL);

    4)add a list control on the form with listBox1 name.

    5)use this namespace:   

     

    using

     UrlHistoryLibrary;

    Sunday, November 27, 2011 2:18 PM

All replies

  • What exactly is confusing in that? You can replace the control in Ponta with your listbox.

     

     


    http://izlooite.blogspot.com
    Sunday, November 27, 2011 8:21 AM
  • What exactly is confusing in that? You can replace the control in Ponta with your listbox.

     

     


    http://izlooite.blogspot.com
    Could you tell me how?i must add all of the project for do that?
    Sunday, November 27, 2011 8:29 AM
  • Hello jon smith tommy,

    I want to create a form with a list of IE history .

    I checked this:

    http://www.codeproject.com/KB/cs/ponta.aspx

    but i want a simple code(just a list or combobox ,not anything else).

     

    if you want to store urls visited, you can look at this example.

    http://code.msdn.microsoft.com/Gestione-dei-preferiti-con-171d1cd3 

    The code fills a combobox with urls visited.

    Regards


    Sunday, November 27, 2011 10:57 AM
  • No my friend. i want IE history not just one i've defined.but no problem because I found it.

    1)first of all download ponta file form above link.

    2)add UrlHistoryLibrary.dll in debug folder into refrence.

    3) write this code in form load:

     

    UrlHistoryWrapperClass urlHistory;
    UrlHistoryWrapperClass.STATURLEnumerator enumerator;
     List<STATURL> list = new List<STATURL>();
    
                urlHistory = new UrlHistoryWrapperClass();
                enumerator = urlHistory.GetEnumerator();
    
                enumerator.GetUrlHistory(list);
    
                foreach (STATURL str in list)
                    listBox1.Items.Add(str.URL);

    4)add a list control on the form with listBox1 name.

    5)use this namespace:   

     

    using

     UrlHistoryLibrary;

    Sunday, November 27, 2011 2:18 PM