Simple code to Clean unwanted cookies from the system
Simple code to Clean unwanted cookies from the system
API Declarations
2. add file list box, name: file1
3. add this code to form load event
Rate Simple code to Clean unwanted cookies from the system
(1(1 Vote))
File1.Pattern = "*.txt"
For i = 0 To File1.ListCount
If File1.List(i) = "" Then GoTo nextfile
Kill "'cookie files path\" & File1.List(i)
nextfile:
Next i
File1.Pattern = "*.dat"
File1.Refresh
For i = 0 To File1.ListCount
If File1.List(i) = "" Then Exit For
Open "cookie files path\" & File1.List(i) For Binary Access Write As #1
VarString$ = String$(LOF(1), " ")
Put #1, , VarString$'fill the file with " "
Close #1
Next i
Msgbox "That's all"
Simple code to Clean unwanted cookies from the system Comments
No comments yet — be the first to post one!
Post a Comment