01/11/07 6:26
gius
Dato questo codice
c'è un errore!potete aiutarmi dicendomi che cos'è e come farlo scomparire
Dim linea(1 To 600) As String Dim arcvir(1 To 6000) As String Dim numln As Integer Dim numln2 As Integer Dim numln3 As Integer Dim x As Integer Dim y As Integer Dim filesospetto As String Private Sub confronta() Open "C:\filesospetto" For Input As #1 Do Line Input #1, linea(numln) numln = numln + 1 Loop Until EOF(1) = True Close #1 Open "C:\archivivirali" For Input As #1 Do Line Input #1, arcvir(numln2) numln2 = numln2 + 1 Loop Until EOF(1) = True Close #1 For x = 1 To numln2 If arcvir(x) = linea(1) Then Open "C:\virus" & x For Input As #1 Do Line Input #1, vir(numln3) numln3 = numln3 + 1 Loop Until EOF(1) = True Close #1 For y = 1 To numln3 If Not linea(x) = vir(x) Then Exit For End If Next y MsgBox "warning virus found!!" End If Next x End Sub
c'è un errore!potete aiutarmi dicendomi che cos'è e come farlo scomparire
aaa