G
Guest
Hello. I am using vb.net.
There are two forms in my project. One is 'base' and the other one is
'savecurrent'.
There is a value stored in a textbox called 'qc_a' in 'base'. I want to
inherit it in 'savecurrent' when a button (located in 'savecurrent') is
clicked. So a declared an Object varible, whose name is 'equation' in
'savecurrent' and typed in the following code:
equation = base.qc_a.Text()
Then VB underlined 'base.qc_a' and said 'Reference to a non-shared member
requires an object reference'.
Could anybody tell me how to fix this? Thanks.
There are two forms in my project. One is 'base' and the other one is
'savecurrent'.
There is a value stored in a textbox called 'qc_a' in 'base'. I want to
inherit it in 'savecurrent' when a button (located in 'savecurrent') is
clicked. So a declared an Object varible, whose name is 'equation' in
'savecurrent' and typed in the following code:
equation = base.qc_a.Text()
Then VB underlined 'base.qc_a' and said 'Reference to a non-shared member
requires an object reference'.
Could anybody tell me how to fix this? Thanks.