E
Elmo Watson
In VB6, I used :
frmMain.ActiveForm.txtEdit.....whatever
However, I'm using VS.Net 2005 now - - then, I was told to use
Directcast(me.mdiparent.activemdichild, TypeOfChildForm).txtEdit
But when I try to do that, I get an error message with no corrections
suggested:
'TypeOfChildForm' not declared....
I need to globally refer to the txtEdit rich text box (both in frmMain,
which is a MDI container, and in Modules, classes)
How can I accomplish this with DotNet 2.0?
frmMain.ActiveForm.txtEdit.....whatever
However, I'm using VS.Net 2005 now - - then, I was told to use
Directcast(me.mdiparent.activemdichild, TypeOfChildForm).txtEdit
But when I try to do that, I get an error message with no corrections
suggested:
'TypeOfChildForm' not declared....
I need to globally refer to the txtEdit rich text box (both in frmMain,
which is a MDI container, and in Modules, classes)
How can I accomplish this with DotNet 2.0?