Hi

Im new to VB.NET and to be honest, not used MDI much in VB either.

My Application will consist of several forms, and I thought it be best to put them all into a MDI form.

There will only be one instance of each form, and I would like to know how I can show another form from within another.

In my MDI container form, I declared at the top, the form variables I would like to use

VB Code:
  1. '-- Declaration section of MDI Container
  2.     Public formWelcome As New WelcomeForm()
  3.     Public formAddCD As New AddCDForm()

so I can access those variables anywhere in my MDI container.

How can I show and manipulate formAddCD from formWelcome?

the following doesn't work, vb.net can't find the variable formAddCD
VB Code:
  1. '-- Inside WelcomeForm
  2.         Private Sub WelcomeForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  3.         MdiMain.formAddCD.Show()
  4.     End Sub

Thanks