Private Sub frmParent_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim frm As New frmBCLoginForm
Dim dateToday As Date
If frm.logInAuthenticated = False Then
Dim frm2 As New formChild
frm2.MdiParent = Me
I really need to show the parent form and the child form. Please help!
Login has different case. The login form should show before the parent show. If the login is successfull then the login form should be close and the parent and the child form should be shown simultaneously.
The menustrip is located in the parent form. I want to show them simultaneously because I want that the child form can see the menuStrip and the user can open other forms. Hope you understand.
set the startup form is login form. if you don't know how to go startup page then go to theproject properites and and set it to login form and then sussessfulle login button put this code on MDIparent form load event
dim f1 as firm
Private Sub MDIParent1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
f1 = New Form
f1.MdiParent = Me