Hi,
So this is driving me half insane.
I have an mdi form setup so here is my problem
mdiParent : mdiMain
mdichild : frmData
Sub on frmData : Public Sub GenerateData()
Form : popForm
I open the parent then the child. In the menustrip on the parent I have an option that opens popForm using popForm.showdialog()
On popForm there is a button that when clicked I want it to run a Public sub on frmData (the child form)
Intellisense doesnt even pickup that form when I start typing it.. and just typing in the following
frmData.Generatedata()
...comes up with the error frmMaindata is not declared.
Thanks
Reg
vb.net 2.0, winform app, visual studio 2010
So this is driving me half insane.
I have an mdi form setup so here is my problem
mdiParent : mdiMain
mdichild : frmData
Sub on frmData : Public Sub GenerateData()
Form : popForm
I open the parent then the child. In the menustrip on the parent I have an option that opens popForm using popForm.showdialog()
On popForm there is a button that when clicked I want it to run a Public sub on frmData (the child form)
Intellisense doesnt even pickup that form when I start typing it.. and just typing in the following
frmData.Generatedata()
...comes up with the error frmMaindata is not declared.
Thanks
Reg
vb.net 2.0, winform app, visual studio 2010