I am totally new with VB.NET...
I have a question here,
I first created a Form (Form1) and plant a TextBox (TextBox1) on it.
Then I created a Module (Module1), in this Module I have Sub Main()
Now I want to retrive the value from TextBox1, how would I do that?
In VB6 I would just do *something* like this:
But How would I do It in VB.NET?
I have a question here,
I first created a Form (Form1) and plant a TextBox (TextBox1) on it.
Then I created a Module (Module1), in this Module I have Sub Main()
Now I want to retrive the value from TextBox1, how would I do that?
In VB6 I would just do *something* like this:
Code:
Sub Main()
Dim sTest as String
sTest = Form1.TextBox1.Text
End Sub
But How would I do It in VB.NET?