M
Manuel Canas
Hi there,
I'm having this issue with my connection object.
I'm using a public variable for my DB connection.
It's straight forward;
Public conn As String = "data source=mycomputer\MSDE;initial catalog=DB" &
";" & _
"User ID=" & cUserName & ";" & _
"Password=" & cPassword
This first time I login correctly to my app, it works fine, but if I fail to
provide a valid username or a password, I get the SQL error, I clear the
connection object on the Catch conn = nothing.
Now how do I initialize this object again?
Thanks,
Manuel
I'm having this issue with my connection object.
I'm using a public variable for my DB connection.
It's straight forward;
Public conn As String = "data source=mycomputer\MSDE;initial catalog=DB" &
";" & _
"User ID=" & cUserName & ";" & _
"Password=" & cPassword
This first time I login correctly to my app, it works fine, but if I fail to
provide a valid username or a password, I get the SQL error, I clear the
connection object on the Catch conn = nothing.
Now how do I initialize this object again?
Thanks,
Manuel