answersLogoWhite

0


Best Answer

Assuming you have text box called txtUserName

To clear the contents of the text box, use double speech marks e.g.

txtUserName.text = ""

User Avatar

Wiki User

βˆ™ 14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you empty a text box in visual basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you empty text box at run time in visual basic?

Let's assume youre text box is called: Text1; then, to clear it at RUN time you can use the following code... Text1.Text = ""


Visual basic what is the different between labels and text boxes?

When creating labels, you can only create labels in your documents. With text boxes, you can create the box and text can immediately follow the text box.


The control that is used to display text in other parts of a visual basic application?

Text box.


What does empty square box mean when you text?

An empty square box in a text does not have a specific meaning. It often means that the encoding of the text messed up and couldn't send what was typed so it sent an empty box.


What is object box in visual basic?

what is object box


The code of Fahrenheit to celsius code in visual basic?

'make fTemp and cTemp variables and initialize fTemp to a text box cTemp = (fTemp - 32) * 5 / 9


How do you get rid of an empty text box on Word?

Click on the edge of the text box to select it. When it is selected, pressing the Delete key will get rid of it.


Comparison between visual basic and Microsoft visual basic?

There is no difference. Microsoft Visual Basic and Visual Basic are the same thing. Visual Basic is a language that was developed by Microsoft. There is however a difference between Visual Basic and Visual Basic .NET (Now known as just Visual Basic and VB.Net). VB.Net is basically Visual Basic, the only difference is that VB.Net supports the Microsoft .NET Framework. There is a similar language, called BASIC, from which Visual Basic was derived.


What is the basic component of slide in PowerPoint?

the basic components of a slide is text box,data, clipart,text.


How do you do the check box in visual basic 6.0?

i want the answer how to connect checkbox in vb


How do you get an input box to save information on visual basic 2008?

Ummm... I'm not sure


How do you insert a HTML text box in a flash website how to insert HTML text box code in empty text box?

The textarea tag is a part of the form tag and is contained within that and the fieldset tags. A textbox is produced by an inline or external JavaScript.