battle programmers alliance

battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 vb.net windows xp cookies raigeki

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin
avatar

Posts : 52
Join date : 2011-08-01

PostSubject: vb.net windows xp cookies raigeki   Wed Oct 19, 2011 3:06 pm

the following code will delete all the cookies, even the once that aren't deleted in IE ( internet explorer 8 ) from : tools, internet option, delete.

as a result of running the code the user will not be recognized or logged in to sites like youtube and various forums.
naturally, the user can relog in to those sites.

Code:
Imports System.IO
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            For Each f In Directory.GetFiles("C:\Documents and Settings\" & Environment.UserName & "\Cookies", "*.txt", SearchOption.AllDirectories)
                File.Delete(f)
            Next
        Catch ex As Exception
            MsgBox(ex.Message.ToString)
        End Try
    End Sub
    ' * delete cookies that ie doesn't delete from it's tools, delete
End Class

alternitively, on windows xp the user can delete the cookies manually :
start, run, cookies, delete all .txt files only.
cheers

_________________
kurayami no kagi
Back to top Go down
View user profile http://yotamarker.justforum.net
 
vb.net windows xp cookies raigeki
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Has Anyone Gotten Chrome Driver to Work with Windows 7?
» Selenium RC with Google Chrome on Windows server 2008
» Vippie softphone for Windows Mobile by S4VOIP.com
» C: Windows Firewall
» [ANSWERED] Windows 8.1 Customized DVD not start in EFI mode

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: