Web History Access
Hi, in my program, I want to access web history.
Web history is stored in the username's documents and settings...
I could reference to C://Documents and Settings/username/history location w/e in a web browser
but the username changes from user to user, so how would I make it so that i can access the history (anyway) and display it in the program (i believe the only way is a web browser)...
But how do you access the information in this directory?
Dim
MyHistoryFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.History)Dim IDs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)IDs =
My.Computer.FileSystem.GetFiles(MyHistoryFolder)This contains only 1 item (Desktop.ini), I would like to be able to access the URLs for the web pages visited today
The file you need to scan is called index.dat located in the History folder, History folder is a special folder and so internally for some reason hides the index.dat from normal directory searches. There are several copies of index.dat, I guess some have specific days in them.
You may have to Google around to find the format of the file so you can read and interpret it ...Found something like reasonable at http://www.milincorporated.com/a_indexdat.html
Good Luck.