home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "KeyLogger"
- Option Explicit
-
-
- Public Sub KeyLog(KeyCode As Integer, Shift As Integer)
- 'This sub is for the administrator password only
- 'the textbox is not necessary and will ignore
- 'extra characters and does not need log in button
- Dim Passadmin As String
- Static akeys As String
- Passadmin = frmIni.txtValue2.Text
- akeys = akeys & Chr(KeyCode)
- If Left(Passadmin, Len(akeys)) <> akeys Then
- akeys = ""
- Else
- If Passadmin = akeys Then
- frmIni.Show 'success
- akeys = ""
- End If
- End If
- End Sub
-
-
-