|
-
Jul 12th, 2010, 01:18 PM
#1
Thread Starter
Lively Member
[RESOLVED] Delete IE History? Google Chrome? Firefox?
well can I delete these browsers history in VB, what about cache?
-
Jul 12th, 2010, 01:32 PM
#2
Re: Delete IE History? Google Chrome? Firefox?
My guess is you'd have to read the documentation of each individual browser to know where exactly they save their data and then delete it.
Alex
.NET developer
"No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)
Things to consider before posting.
Don't forget to rate the posts if they helped and mark thread as resolved when they are.
.Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
My fresh new blog : writingthecode, even if I don't post much.
System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0 
-
Jul 12th, 2010, 01:45 PM
#3
Thread Starter
Lively Member
Re: Delete IE History? Google Chrome? Firefox?
i thought that there was a process that you just have to start...
-
Jul 12th, 2010, 02:17 PM
#4
Re: Delete IE History? Google Chrome? Firefox?
We'll I'm no expert, but as all the browsers are created by different groups/companies I think that they all store their history in different locations. I don't know any existing method in VB that would delete all those at once. I guess that you would need to find those location and then create your own method to delete it.
Alex
.NET developer
"No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)
Things to consider before posting.
Don't forget to rate the posts if they helped and mark thread as resolved when they are.
.Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
My fresh new blog : writingthecode, even if I don't post much.
System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0 
-
Jul 12th, 2010, 02:24 PM
#5
Re: Delete IE History? Google Chrome? Firefox?
 Originally Posted by reconrey
i thought that there was a process that you just have to start...
Of course not. If you just want an already made application, go with something like CCleaner.
Otherwise, you'll need to research the different methods each browser uses to store that information.
Luckily, the .NET Framework has an easy method to grab IE's info. Google it and you'll get what you need there.
FF stores it's info in a folder and a sql database I think. I think Chrome does it similarly. But as mentioned before, you'll need to research each browser.
Afterwards, you can use methods within the System.IO namespace to grab and delete items.
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Jul 12th, 2010, 04:45 PM
#6
Thread Starter
Lively Member
Re: Delete IE History? Google Chrome? Firefox?
i figured it out guys--I used:
vb Code:
Sub Clear_Temp_Files() Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 ") End Sub Sub Clear_Cookies() Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2") End Sub Sub Clear_History() Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1") End Sub Sub Clear_Form_Data() Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16") End Sub Sub Clear_Saved_Passwords() Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32") End Sub Sub Clear_All() Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255") End Sub
-
Jul 12th, 2010, 05:01 PM
#7
Re: [RESOLVED] Delete IE History? Google Chrome? Firefox?
There's so many things wrong with that. And by so many, I mean two that I can think of. First, as far as I can tell, that only works with IE. And, like I mentioned, there are built in methods to do that with IE.
Second, Shell is an outdated method and was replaced by Process.Start.
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|