Hey guys, Im currently doing another small project where i have to create a web broswer. Ive got everything completed except one function that im quite confused.

I have a listbox that stores a history of the websites that have been visited. I was wondering how i would, If the website was visited more than once, store these websites in a listbox for the "popular websites"?

Hope that makes sense

Thanks

You would have to keep a counter of the visists to that website, and increment the counter every time the user views that website.

Then, you will have to define how many visits constitute an automatic favorite.

Next, you will copy the corresponding website to the "Favorites" list box.