moralju
asked on
enable/disable control on mdi parent
I have an mdi form that loads a logon mdichild form. after I the person logs in I want the menu toolbar to appear.
I'm very new to vb.net and I'm having trouble refering to other forms in my project.
I tried the following code but didn't work.
Dim frm As Form3
frm.ToolBar1.Visible = True
can someone assist.
I'm very new to vb.net and I'm having trouble refering to other forms in my project.
I tried the following code but didn't work.
Dim frm As Form3
frm.ToolBar1.Visible = True
can someone assist.
ASKER
I want the MDIParent to have a static toolbar on the side that will never close or change once the person logs on.
is this possible?
the toolbar will call different forms depending on request
is this possible?
the toolbar will call different forms depending on request
Hi moralju,
To start with here is some code examples that are great to learn and
easier to pickup than trying to read books all the time.
Here is where I found a good example for a starting new in VB.Net
.....http://msdn.microsoft.com/vbasic/downloads/samples/101samples.aspx
Link for ASP programs...
http://msdn.microsoft.com/asp.net/downloads/kits/default.aspx
Here is some code that I use to show a dialogwindow of my login that has a boolean
for a varable.
If the login is good then the MDI form will become visble and run your app..
'This goes in your MDI form
'Run the application
'The main entry point for the application
<STAThread()> Shared Sub Main()
Dim objForm As New frmLogin
objForm.ShowDialog()
If bLogin = True Then
System.Windows.Forms.Appli cation.Run (New frmMainForm)
End If
End Sub
To start with here is some code examples that are great to learn and
easier to pickup than trying to read books all the time.
Here is where I found a good example for a starting new in VB.Net
.....http://msdn.microsoft.com/vbasic/downloads/samples/101samples.aspx
Link for ASP programs...
http://msdn.microsoft.com/asp.net/downloads/kits/default.aspx
Here is some code that I use to show a dialogwindow of my login that has a boolean
for a varable.
If the login is good then the MDI form will become visble and run your app..
'This goes in your MDI form
'Run the application
'The main entry point for the application
<STAThread()> Shared Sub Main()
Dim objForm As New frmLogin
objForm.ShowDialog()
If bLogin = True Then
System.Windows.Forms.Appli
End If
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
actually the menu in the mdi child forms are got from the mdi parent and are shown on the mdi parent
B..M