How to Create Multi User Login Form in VB.NET using SQL Server Database?[With Source Code]

Sdílet
Vložit
  • čas přidán 3. 11. 2018
  • Support us on Patreon: / runcodes
    This video will show you how you can Create Multi-user Login From in VB.NET using SQL Server Database!
    NOTE: i forget to show you that when you enter wrong username or password then you will get error message!
    Send SMS using VB.NET: • How to Send Free SMS F...
    Source Code: runcodes.tech/programming/vbn...
    This video is created by Ran and RunCodes own this video. Using of this video on other channels without prior permission will be strictly prohibited. (Embedding to the websites is allowed).. So stop copying and be a responsible people.
    Follow us on Social Media:
    Facebook: RunCodesPage
    Instagram: runcodes
    Twitter: RunCodesTwit
    #MultiUserVB #VBMultiuserLogin #MultiUserLogin #MultiUserLoginInVB
  • Věda a technologie

Komentáře • 47

  • @Panahon_
    @Panahon_ Před 5 lety +1

    thanks a lot im your student and a fan.

  • @besamahmed692
    @besamahmed692 Před 2 lety

    How can i permit only one user to log in into my application at the same time and update database, Access local database?, because when more than one user logs in at the same time only the first will have his data stored in Access database file and not the others. Do you have a solution for this issue pls?

  • @nawafmusa2070
    @nawafmusa2070 Před 4 lety

    Thanks for this wonderfull video

  • @omranadam5430
    @omranadam5430 Před 5 lety

    thank you it works properly

  • @elvisndobe3063
    @elvisndobe3063 Před 5 lety

    SUCH A WONERFUL VIDEO, THANK YOU

  • @ohniicha
    @ohniicha Před 4 lety

    Thank you!

  • @eyasutafere7907
    @eyasutafere7907 Před 6 měsíci

    nice video !!!

  • @nmutindamwanzia1432
    @nmutindamwanzia1432 Před 4 lety

    Thanks A lot!!!

  • @umindubigusara4903
    @umindubigusara4903 Před 2 lety

    thank you very much

  • @hailukebede1251
    @hailukebede1251 Před 5 lety

    thank u very much

  • @sihe8396
    @sihe8396 Před 5 lety

    There is a form to do it without using the combo box?
    We have to do a software that automatically detect if the person is user or admin by a value in the table (1 if is admin, 2 if is user)

    • @RunCodes
      @RunCodes  Před 4 lety

      do not use combobox! use different username and password for admin and user!

  • @ohniicha
    @ohniicha Před 4 lety +2

    Hi there! I keep getting an exception in sda.Fill(dt). It says System.Data.SqlClient.SqlException: 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. What do I do? Huhu :

    • @RunCodes
      @RunCodes  Před 4 lety +1

      Run your sql server instance from administration tools before executing your program.

    • @EduAlmeida
      @EduAlmeida Před rokem

      nomeando o table(principal) deve estar iqual ao from select .code sql : ("Select * From --->TableName

  • @J_avxz
    @J_avxz Před 6 měsíci

    sda.Fill(dt) this part is error for me

  • @trainingcellnabbalochistan5616

    Thxz sir

  • @jayrivera7823
    @jayrivera7823 Před 4 lety

    is it possible that the system will automatically determine if your account is an admin or user only without the combo box?

  • @vamsterc7872
    @vamsterc7872 Před 2 lety

    Sir what programming language are you using in the commands? Is that a java?

  • @bhebhevambe9356
    @bhebhevambe9356 Před 4 lety

    thank you ,very helpful

  • @ajsantos3739
    @ajsantos3739 Před 4 lety +1

    Is it possible without a combobox? Just 2 textboxs will determine if user or admin? Please help :( BTW thank you for this very clear and helpful video! :)

  • @drawingmylife1226
    @drawingmylife1226 Před 4 lety

    When i run my windows forms, i click login button and this shows up (System.Data.SqlClient.SqlException: 'Invalid object name 'login'.')
    pls help

    • @drawingmylife1226
      @drawingmylife1226 Před 4 lety

      my table name is login

    • @RunCodes
      @RunCodes  Před 4 lety

      try creating database on sql server and use another table name.

    • @CoDCrafted
      @CoDCrafted Před 4 lety

      I had the same problem. I found out the reason for it happening was because when I added the database, I forgot to actually specify which database I was using. You put this in the 2nd to lowest box on the screen at 6:18. I hope this helps.

  • @mollybolly680
    @mollybolly680 Před 3 lety

    Dim a As New Admin didnt recognize what do i do

  • @peacefulsoul1087
    @peacefulsoul1087 Před 4 lety

    You have so much patient to do coding.......how do u prepare urself and how do u get so much interest to do this coding.....
    ...

    • @RunCodes
      @RunCodes  Před 4 lety

      finally someone understand :)

  • @brucelee866
    @brucelee866 Před 3 lety

    Please do another video using access

  • @jobinpaul5718
    @jobinpaul5718 Před 2 lety

    hi how this is working without sub main()

  • @rohitrajput1639
    @rohitrajput1639 Před rokem

    Sir please Make bus reservation system Project with all requirements please

  • @fathini7757
    @fathini7757 Před 4 lety

    How if i got more than 2 usertype? I can’t hear you.
    If
    Else if
    Else if
    Else
    Correct??

    • @RunCodes
      @RunCodes  Před 4 lety +1

      yes! that's right

    • @fathini7757
      @fathini7757 Před 4 lety

      @@RunCodes
      If (dt.Rows.Count > 0) Then
      MessageBox.Show("Login Success as " + dt.Rows(0)(2))
      If (cboRole.SelectedIndex = 0) Then
      Dim a As New Admin
      a.Show()
      Me.Hide()
      Else
      Dim r As New Receptionist
      r.Show()
      Me.Hide()
      End If
      Else
      If (cboRole.SelectedIndex = 1) Then
      Dim o As New Nurse
      o.Show()
      Me.Hide()
      Else
      Dim d As New Doctor
      d.Show()
      Me.Hide()
      End If
      MessageBox.Show("Error")
      End If

    • @fathini7757
      @fathini7757 Před 4 lety

      this is my code. But got error when i want to log in.
      For example, i want to log in to Receptionist, nurse dashboard will appear. Not Receptionist.
      Hope you can help me.

  • @OhMyTito
    @OhMyTito Před 2 lety

    my problem is ADMIN part... error

  • @elvisndobe3063
    @elvisndobe3063 Před 5 lety

    SOURCE CODE PLS

    • @RunCodes
      @RunCodes  Před 5 lety

      See description of video!

  • @tekszhufuni2963
    @tekszhufuni2963 Před 5 lety

    sir can i have ur email.. so i can share my problem

    • @RunCodes
      @RunCodes  Před 5 lety

      Share your problem here in facebook.com/TechSupportNep

  • @RunCodes
    @RunCodes  Před 2 lety

    do you like our work?
    does this tutorial help you?
    if so, you can support us at www.patreon.com/RunCodes

    • @BhaviDangergurl1989
      @BhaviDangergurl1989 Před 2 lety

      Hai Is it possible without combobox and detect username and password to their own dashboards?