i have managed to connect vb.net to Microsoft database access but now i am struggling with the code to authentication log in. when i log in to the form i want it to display the user name in the label in vb.net form.
After the authentication log in was succesfull your application ( second form) will open.
Here's an example to show how you can do it with just 2 forms.
Create a new testapplication and add 2 forms, in form1 add a Button1 and textbox1 and in form2 a Label1, then try this:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Form2 As New Form2 Form2.Label1.Text = TextBox1.Text Form2.Show() End Sub End Class