I can't figure out how to clear the text boxes in this program when the Enter button is clicked. Here is what I have...

Public Class AccountInformationForm

    Private Sub enterButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles enterButton.Click
        balanceLabel.Text = Val(balanceLabel.Text) - Val(withdrawalTextBox.Text) _
        + Val(depositTextBox.Text)
    End Sub
End Class ' AccountInformationForm
withdrawalTextBox.Text = String.Empty 
depositTextBox = String.Empty

depositTextBox.Text =" "

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.