Private Sub log_Timer_Timer()
Dim line(10000) As String
Dim log_ctr As Integer
Open App.Path & "\crt\log.txt" For Input Lock Read As #1
Do Until EOF(1)
Line Input #1, line(log_ctr)
log_ctr = log_ctr + 1
Loop
Close #1
If last_log <> log_ctr Then
For n = last_log To log_ctr - 1
Text1.SelStart = Len(Text1.Text)
Text1.SelText = line
& vbCrLf
If InStrRev(line
, "auth-failure") > 0 Then
log_Timer.Enabled = False
MsgBox ("Error: Wrong User/Pass!")
End If
If InStrRev(line
, "There are no TAP") > 0 Then
log_Timer.Enabled = False
MsgBox ("Not TAp installed!")
' your code here para i install yung tap na gsto nyo pde dn malaman kng 32bit or 64bit kac nasa log napoh lahat...
End If
Next
last_log = log_ctr
End If
End Sub