When i was entered into login page
the code is here
Private Sub txt_Password_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If UCase(txt_Password) = UCase(txt_dbPassword) Then
Unload Me
Modification_Main.Enabled = True
'unlock database here
Else
MsgBox "Invalid password.", vbExclamation
txt_Password.SetFocus
SendKeys "{home}" & "+{end}"
counter = counter + 1
If counter = 3 Then
MsgBox "You have reached the maximum tries to enter wrong password." & Chr(13) & _
"System is terminating.", vbExclamation
End
End If
End If
End If
If KeyAscii = 27 Then
End
End If
End Sub
the error showing Compiler error,Cant find project or Library