You want all the same functions! That would take an age to find. Applications like that arent just made overnight. Weeks of effort have gone into it
Google: Delete Cookies in VB.net
Heres 15minutes on google, and on these very forums
[vb]Imports System.IO
Public Class Form1
''Empty Recycle Bin
Private Declare Function SHEmptyRecycleBin Lib "shell32.dll" Alias "SHEmptyRecycleBinA" (ByVal hWnd As Int32, ByVal pszRootPath As String, ByVal dwFlags As Int32) As Int32
Private Declare Function SHUpdateRecycleBinIcon Lib "shell32.dll" () As Int32
Private Const SHERB_NOCONFIRMATION = &H1
Private Const SHERB_NOPROGRESSUI = &H2
Private Const SHERB_NOSOUND = &H4
#Region "Empty Recycle Bin (SUB)"
Private Sub EmptyRecycleBin()
SHEmptyRecycleBin(Me.Handle.ToInt32, vbNullString, SHERB_NOCONFIRMATION + SHERB_NOSOUND)
SHUpdateRecycleBinIcon()
End Sub
#End Region
Private Sub RecyclingBin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RecyclingBin.Click
EmptyRecycleBin()
End Sub
''Temp Files
Function GetTempDirectory() As String
Return Environment.GetEnvironmentVariable("TEMP")
End Function
Private Sub TempFiles_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TempFiles.Click
Dim filePath As String
For Each filePath In Directory.GetFiles(GetTempDirectory())
Try
File.Delete(filePath)
Catch
' IGNORE EXCEPTION THROWN
End Try
Next
End Sub
''History
Public Function GetHistoryDirectory() As String
Return Environment.GetFolderPath(Environment.SpecialFolder.History)
End Function
Private Sub History_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles History.Click
Dim filePath As String
For Each filePath In Directory.GetFiles(GetHistoryDirectory())
Try
File.Delete(filePath)
Catch
' IGNORE EXCEPTION THROWN
End Try
Next
End Sub
End Class
[/vb]
Thanks to CodeBreaker for the Recycling Bin code