PC Review


Reply
Thread Tools Rate Thread

clear Internet Explorer's history using C#

 
 
Alex
Guest
Posts: n/a
 
      11th Aug 2003
I am writing a util (windows forms) to allow a user to
clear their internet explorer's history using C#.

Microsoft's Internet Explorer does not appear to have
this option, so I manually have to delete these files
from the following directory: \Documents and
Settings\username\Local Settings\History\Today\*.*. I
would like to be able to delete these files in the Today
directory programmatically, using C#, however I cannot
seem to find any resources on doing this.

string path = "C:\Documents and Settings\username\Local
Settings\History\History.IE5";
FileInfo fi = new FileInfo(path);
ect...

I cannot get access to the History.IE5 file, and I cannot
seem to find any other means to delete the files within
the Today folder. I have tried other methods that I have
not displayed here, and no luck.

Any help would be appreciated. Thanks.

Alex
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer does not clear History FIXED Nick Le Lievre Windows XP Internet Explorer 5 3rd Mar 2006 02:39 AM
Internet Explorer will not clear History Nick Le Lievre Windows XP Internet Explorer 5 3rd Mar 2006 02:38 AM
Internet Explorer History will not clear =?Utf-8?B?bWlrZTk4OTI2?= Windows XP General 4 31st Dec 2004 07:31 AM
Internet Explorer doesn't clear out history Markus Windows XP Networking 0 29th Sep 2003 01:07 PM
Can't clear internet explorer history Steve Swift Windows XP Security 2 28th Aug 2003 09:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:34 PM.