Results 1 to 18 of 18

Thread: [RESOLVED] [2005] Login form code (no errors, does nothing)

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Resolved [RESOLVED] [2005] Login form code (no errors, does nothing)

    Hi all,

    I decided to rewrite my login code because my last one would only find the first record and anything after that first record (additional records) werent even found but they were in the database (mssql express).

    I have a function that returns the connection string as follows:
    vb Code:
    1. Public Function ConString() As String
    2.         Return "Data Source=.\SQLExpress;Initial Catalog=CorpScore;User Id=MyUsername;Password=MyPassword;"
    3.     End Function
    I then have a public object for my connection and then I assign the connection string as follows:
    vb Code:
    1. Public m_objCon As New SqlClient.SqlConnection(ConString)
    When I enter in values in the username and password textboxes and click on the login button, it should do many checks and then log in if those checks are met for being valid. However, when i click on the login button, I get no errors and nothing happens at all. I even went to do a breakpoint and that isnt even executed. nothing happens at all. Please see code in the following three posts and advise if you see anything out of place. i am pretty new to .net so bear with me. the code is pretty long.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width