How to create login form with ms-access database in vb.net

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 101

  • @alphaq808
    @alphaq808  5 років тому +7

    If you need any other help about visual basic coding just feel free to ask in the comments section. surely you'll get a helping hand. :) Thank you...

    • @noitsmonday
      @noitsmonday 5 років тому +5

      hye..i got problem with dim count = convert.toInt32(cmd.ExecuteScalar())..
      can you help me?

    • @alfredanero9686
      @alfredanero9686 5 років тому

      @@noitsmonday same to my problem.

    • @noitsmonday
      @noitsmonday 5 років тому

      @@alfredanero9686 so what the solving

    • @noitsmonday
      @noitsmonday 5 років тому

      @@alfredanero9686 did you already got it?

    • @alfredanero9686
      @alfredanero9686 5 років тому

      @@noitsmonday i dont know how.

  • @DeagleDamo
    @DeagleDamo 6 років тому +2

    Hi mate, Just followed this through step by step after watching hours of tutorials that dont work and this one worked and is amazing!, thank you dude!

  • @mizanzlk
    @mizanzlk 4 роки тому +1

    Thank you so much. Works like a charm! Just need to change the table name in the coding to mine in Access and good to go.

  • @kh-music2328
    @kh-music2328 5 років тому +5

    help me. System.InvalidOperationException: 'ExecuteScalar requires an open and available Connection. The connection's current state is closed.'Dim count = Convert.ToInt32(cmd.ExecuteScalar())
    If (count > 0) Then

  • @janakahewage8327
    @janakahewage8327 3 роки тому

    Thank You so much its work Nicely

  • @nigelmasiya423
    @nigelmasiya423 3 роки тому +1

    having a problem when l click login the problem will be indicating >>{(cmd.ExecuteScalar())}

  • @CodingXpert
    @CodingXpert 3 роки тому

    The Microsoft Access database engine cannot find the input table or query login ....this error come

  • @mohammedsaeeddowelbite386
    @mohammedsaeeddowelbite386 5 років тому

    thank you very much good lecture that I benefit from it

  • @gabo7966
    @gabo7966 2 роки тому

    Very helpful thank you!

  • @kyrollosemad5319
    @kyrollosemad5319 5 років тому +1

    help me. i can not add the database after clicking the "new connection" button and browse the database when i click test connection it appears this message box "unrecognized database format" and the location of the file

    • @alphaq808
      @alphaq808  5 років тому

      What's the version of ms office you are using ?

    • @mrblackblade9217
      @mrblackblade9217 5 років тому

      @@alphaq808 Office 365

    • @mrblackblade9217
      @mrblackblade9217 5 років тому

      @@alphaq808 Does it not work with newer versions?

    • @kyrollosemad5319
      @kyrollosemad5319 5 років тому

      @@mrblackblade9217 i've finally found the solution! 😎😎
      you have to download and install the Microsoft Access Database Engine 😃
      you can use this link: 👇👇👇👇👇👇👇
      www.microsoft.com/en-us/download/details.aspx?id=54920

  • @mcbryan2243
    @mcbryan2243 3 роки тому

    currently using vs 2019, why am i missing the oledDbConnection

  • @thethornface1485
    @thethornface1485 4 роки тому

    why my connection.open() has an oledb exception "Invalid authorization specification"

  • @mannukim
    @mannukim 5 років тому

    hey ALPHA you've helped a lot thanks.

  • @bhoomisamadhiya382
    @bhoomisamadhiya382 3 роки тому

    Getting an error system.data.oledb.oledbException for connection.open() , what I should do?

  • @anishazadmusical5821
    @anishazadmusical5821 2 роки тому

    great great and great😭

  • @adamwhite1971
    @adamwhite1971 4 роки тому

    Easy to follow and fast, thank you very much!

  • @kalbaryo-chika-gaming
    @kalbaryo-chika-gaming 3 роки тому

    System.Data.OleDb.OleDbException: 'The Microsoft Jet database engine cannot find the input table or query 'login'. Make sure it exists and that its name is spelled correctly.'
    i have this problem can you help me?

  • @sumathivelmurugan4708
    @sumathivelmurugan4708 3 роки тому

    I got test connection failed and i am getting this error microsoft.ace.provider is not registered on local machine. how to solve this issue

  • @marbasnoviedamee.5960
    @marbasnoviedamee.5960 4 роки тому

    It says that may dim count =Convert.ToInt32(cmd.ExecuteScalar())
    Has no value given for one or more required parameters. why is that?

  • @09-poonamkhandagale92
    @09-poonamkhandagale92 2 роки тому

    It showing exception unhandled, What should I do ?

  • @samruddhidhoke9186
    @samruddhidhoke9186 6 років тому +1

    connection string property has not been initialized????

    • @alphaq808
      @alphaq808  6 років тому

      check your connection string is assigned to the connection object or not.
      i can only say this without reviewing actual code.

    • @samruddhidhoke9186
      @samruddhidhoke9186 6 років тому

      @@alphaq808 sir connection string problem solve but Dim count = Convert.ToInt32(cmd.ExecuteScalar())
      If (count > 0) but count value is 0 and count value is not changed and database username password not show

    • @samruddhidhoke9186
      @samruddhidhoke9186 6 років тому

      @@alphaq808 hi sir my error is solve thanks

    • @MicRodrgz
      @MicRodrgz 5 років тому

      ​@@samruddhidhoke9186 same error.. how d yyou fix that??

    • @mamamagagaga3519
      @mamamagagaga3519 5 років тому

      same problem can u help me too?

  • @startpointcorporation9203
    @startpointcorporation9203 5 років тому

    Thanks! Great Tutorial

  • @kgosimagano8966
    @kgosimagano8966 4 роки тому

    Thanks so much for this video, it really helped me with my college assignment! Now going off-topic here, what's the name of the background music at 2:08 ?

    • @crazi657
      @crazi657 4 роки тому

      Song
      Rise Up (Radio Edit)
      Artist
      Yves Larock feat. Jaba
      Album
      Yves Larock's Classic

  • @dweignharly3988
    @dweignharly3988 4 роки тому

    Thankyousomuch! Godbless

  • @kentesver8107
    @kentesver8107 5 років тому

    Hello. Can you please help me? I just followed the steps but unfortunately it doesnt work on me it says that "An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll" please help me.

  • @priyadharsinir1469
    @priyadharsinir1469 5 років тому

    When I give a password field value as integer it doesn't show any error msg... Bt when I give a password field value as date format it shows a error msg at Dim count = convert.ToInt32(cmd.ExecuteScalar()) what should want to do??? Did I want to change a code for that particular line..... Can u help me??

    • @alphaq808
      @alphaq808  5 років тому

      Mate, can you be more specific about error? What is the error msg ?

  • @ThaidrillLao
    @ThaidrillLao 4 роки тому

    thank you so much

  • @shasvatasyivaan9869
    @shasvatasyivaan9869 4 роки тому

    "An unhandled exception of type 'System.InvalidOperationException' occurred in System.Data.dll " this shows at the connection state which has connection Closed and connection Open

    • @alphaq808
      @alphaq808  4 роки тому

      Varify code again, you'll get the missing point.

  • @jeinsenmirasol5559
    @jeinsenmirasol5559 5 років тому +2

    i am having error " Dim count = Convert.ToInt32(cmd.ExecuteScalar())" what can i do ?

  • @michaelmothiba465
    @michaelmothiba465 4 роки тому

    How can i fix the system.missingmemberexception error

  • @stxz003
    @stxz003 4 роки тому

    thank you bro !!!!!

  • @starlova2444
    @starlova2444 5 років тому

    Great job thank you

  • @adeeghayemarket
    @adeeghayemarket 4 роки тому

    Thank you very much how i can use module to connect access 2019 and visual studio 2019 thanks again

  • @CodingXpert
    @CodingXpert 3 роки тому

    In my pc error come after run

  • @daraorn7058
    @daraorn7058 5 років тому

    erro ExecuteScalar requires an open and available Connection. The connection's current state is closed.

    • @alphaq808
      @alphaq808  5 років тому

      Kindly, check your code again and make sure you wrote the if condition to check connection state, if not then write it...
      exp
      If connection.state = ConnectionState.closed then
      connection.open()

    • @daraorn7058
      @daraorn7058 5 років тому

      @@alphaq808 Thank u

    • @daraorn7058
      @daraorn7058 5 років тому +1

      System.Data.OleDb.OleDbException: 'Syntax error (missing operator) in query expression 'count(*) form tbluser where username=? and password=?'.'

    • @markdelatorre3888
      @markdelatorre3888 4 роки тому

      same problem

  • @tarunkumar6181
    @tarunkumar6181 5 років тому +2

    please do us a favor and kindly remove the background music. its pretty loud and drowns out your words

  • @w4tchmonk3y51
    @w4tchmonk3y51 4 роки тому

    kuys may tanong ako. pag ka login ko gusto ko kasi sya automatic mag close yung login form pag nag show yung kasunod nyang dialog box

  • @frogt6931
    @frogt6931 4 роки тому

    Can u make this video by using 2 form which are login and register use the access?

    • @alphaq808
      @alphaq808  4 роки тому

      Why not, just give me a day and I'll give you a link of new video. :)

    • @frogt6931
      @frogt6931 4 роки тому

      Hope u can make it more easier, thank you

    • @alphaq808
      @alphaq808  4 роки тому +1

      ua-cam.com/video/qlKAyKEfqHg/v-deo.html, hope, you'll get what you asked for.

  • @merlingracy9588
    @merlingracy9588 5 років тому

    How to solve connection string property has not initialized error

    • @alphaq808
      @alphaq808  5 років тому

      Assign the connection string to the connection object .

  • @DeagleDamo
    @DeagleDamo 6 років тому

    At the moment this only gets the one user name and password from the database, do you know howi could add more usernames and passwords in and use more accounts?

    • @alphaq808
      @alphaq808  6 років тому +1

      Create sign up page to add more Accounts in Database.

  • @jahzielperalta484
    @jahzielperalta484 5 років тому

    Nice background bro

  • @rohitangadi3764
    @rohitangadi3764 2 роки тому

    System. Data. Oledbexception syntex error in FORM clause

  • @fategaming123
    @fategaming123 2 роки тому

    Was trying to watch.. But the background music. Loud af

  • @loisarcangeles3954
    @loisarcangeles3954 2 роки тому

    System.Data.OleDb.OleDbException: 'The Microsoft Access database engine cannot find the input table or query 'TB_Admins'. Make sure it exists and that its name is spelled correctly.'
    why does my code does that after i run the program?

  • @rohitangadi3764
    @rohitangadi3764 2 роки тому

    Exception thrown window occurred

  • @sonalnehare3128
    @sonalnehare3128 5 років тому

    Plz tell the coding for login without using database.. simple codeing

    • @alphaq808
      @alphaq808  5 років тому

      Store the user values in resource strings...

  • @THEBRIDEOFJESUS23
    @THEBRIDEOFJESUS23 2 роки тому

    HEY THIS CODES WILL NOT WORK DON'T WATS UR TIME DOING IT
    IT WILL GVE YOU ERROR AT THE END MXXXXMMMMMMM WASTED MY TIME FOR NOTHING

  • @scorphack9190
    @scorphack9190 5 років тому

    thanks

  • @rajkhalkho9564
    @rajkhalkho9564 4 роки тому

    Data type mismatch bol rha hai sir

    • @alphaq808
      @alphaq808  4 роки тому

      Make sure database column datatype set to Text.

    • @rajkhalkho9564
      @rajkhalkho9564 4 роки тому

      Sab check kr liya sir fir bhi nhi ho rha hai

  • @haridasvasudevan1826
    @haridasvasudevan1826 3 роки тому

    Back ground music is very boring