|Ok...so, I'm in a class that deals with a lot of Visual Studio 2008 and I'm stuck on a problem with making a clear button for the program I'm supposed to write. |
So, I got to this part right here: Private Sub clearButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles clearButton.Click
I tried setting all my textboxes to String.Empty after the clear button was pressed, looking a bit like this: lengthBox = String.Empty
The String.Empty part of the code had the blue line under it and it said "Value of String cannot be converted to System.Windows.Forms.Textbox"
The question here is, how do I make this button clear my textboxes? Any help would be greatly appreciated with this.