I am getting confused with one thing. Here in .NET forms are working as classes. for example a form frmabout is a complete class.
I want to call that form from some other form object, such as in VB6 if there are 2 forms we call call each other from any other object. I want to access a method on frmabout from other form but i am unablt to do so. Frmabout is already loaded in memory
in case of if i write
it opens a new form, and calls the method
if i try to call directly such as like
it do not show my form's methods its just shows methods as like a class
if i try
it raise an error
Is there any way to do so ?
I want to call that form from some other form object, such as in VB6 if there are 2 forms we call call each other from any other object. I want to access a method on frmabout from other form but i am unablt to do so. Frmabout is already loaded in memory
in case of if i write
Code:
dim frmM as new frmAbout
frmM.Show
frmM.xxxx
it opens a new form, and calls the method
if i try to call directly such as like
Visual Basic:
frmAbout.Xxx
it do not show my form's methods its just shows methods as like a class
if i try
Visual Basic:
Dim frmM as frmAbout = frmAbout.ActiveForm
it raise an error
Is there any way to do so ?