I'm having trouble getting input from a textbox in Visual Basic 6.0
Private Sub cmdGetNumber_Cl ick()
txtInput.Text = Str(Int(1000 * Rnd))
End Sub
The error message states: "Method or data member not found"
The properties window of the textbox has "txtInput" next to "Name"
In the coding window, when I type "txtInput." , a list of items
appears. The list does not contain "Text".
Why doesn't it work?
Private Sub cmdGetNumber_Cl ick()
txtInput.Text = Str(Int(1000 * Rnd))
End Sub
The error message states: "Method or data member not found"
The properties window of the textbox has "txtInput" next to "Name"
In the coding window, when I type "txtInput." , a list of items
appears. The list does not contain "Text".
Why doesn't it work?
Comment