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

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 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!

    • @alphaq808
      @alphaq808  6 ปีที่แล้ว +1

      Just Noticed : )

  • @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

  • @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

  • @janakahewage8327
    @janakahewage8327 3 ปีที่แล้ว

    Thank You so much its work Nicely

  • @mohammedsaeeddowelbite386
    @mohammedsaeeddowelbite386 5 ปีที่แล้ว

    thank you very much good lecture that I benefit from it

  • @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

  • @gabo7966
    @gabo7966 2 ปีที่แล้ว

    Very helpful thank you!

  • @mannukim
    @mannukim 5 ปีที่แล้ว

    hey ALPHA you've helped a lot thanks.

  • @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?

  • @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"

  • @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

  • @bhoomisamadhiya382
    @bhoomisamadhiya382 3 ปีที่แล้ว

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

  • @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?

  • @anishazadmusical5821
    @anishazadmusical5821 2 ปีที่แล้ว

    great great and great😭

  • @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 ?

  • @adeeghayemarket
    @adeeghayemarket 4 ปีที่แล้ว

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

  • @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

  • @jeinsenmirasol5559
    @jeinsenmirasol5559 5 ปีที่แล้ว +2

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

    • @rabbit4123
      @rabbit4123 5 ปีที่แล้ว

      Same problem here

  • @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.

  • @startpointcorporation9203
    @startpointcorporation9203 5 ปีที่แล้ว

    Thanks! Great Tutorial

  • @09-poonamkhandagale92
    @09-poonamkhandagale92 2 ปีที่แล้ว

    It showing exception unhandled, What should I do ?

  • @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.

  • @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?

  • @tarunkumar6181
    @tarunkumar6181 5 ปีที่แล้ว +2

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

  • @dweignharly3988
    @dweignharly3988 4 ปีที่แล้ว

    Thankyousomuch! Godbless

  • @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

  • @starlova2444
    @starlova2444 5 ปีที่แล้ว

    Great job thank you

  • @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

      th-cam.com/video/qlKAyKEfqHg/w-d-xo.html, hope, you'll get what you asked for.

  • @jahzielperalta484
    @jahzielperalta484 5 ปีที่แล้ว

    Nice background bro

  • @ThaidrillLao
    @ThaidrillLao 4 ปีที่แล้ว

    thank you so much

  • @michaelmothiba465
    @michaelmothiba465 4 ปีที่แล้ว

    How can i fix the system.missingmemberexception error

  • @CodingXpert
    @CodingXpert 3 ปีที่แล้ว

    In my pc error come after run

  • @rohitangadi3764
    @rohitangadi3764 2 ปีที่แล้ว

    System. Data. Oledbexception syntex error in FORM clause

  • @fategaming123
    @fategaming123 2 ปีที่แล้ว

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

  • @stxz003
    @stxz003 4 ปีที่แล้ว

    thank you bro !!!!!

  • @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.

  • @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

  • @merlingracy9588
    @merlingracy9588 5 ปีที่แล้ว

    How to solve connection string property has not initialized error

    • @alphaq808
      @alphaq808  5 ปีที่แล้ว

      Assign the connection string to the connection object .

  • @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

  • @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

  • @scorphack9190
    @scorphack9190 5 ปีที่แล้ว

    thanks

  • @haridasvasudevan1826
    @haridasvasudevan1826 3 ปีที่แล้ว

    Back ground music is very boring