this code is the code of log in section . but it keeps me giving an debug saying
argument are of the wrong type are out of acceptable range , are in conflict with one another

i have a registration section also and it works well


Code:
Dim rs As New ADODB.Recordset
With rs
    .Open "SELECT * FROM tblSecurity WHERE Username = '" & txtUser.Text & "'", conn, adOpenStatic,
...