SpeakComputers.com online store
Electronics Software Computers Handhelds Laptops and Tablets Mobile Phones Digital Cameras Camcorders Games Music Books Sport Mens and Womens Watches Power Tools Household appliances

PRODUCTS

Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010

VB.NET TextBox Control.

The VB.NET TextBox control is typically used by the user to enter some text into part of the application or form. More commonly used to enter small text data, it can be used with the multiline feature for longer text fields. You can also limit the text length field as well as use the control for special fields as passwords. The text entered in the textbox field can be used to update a database field, written to new file or update an exiting file. It is a control that is found in most if not all software programs.

Namespace: System::Windows::Forms
System.Windows.Forms (in system.windows.forms.dll)

Creating an new VB.NET Windows forms TextBox.
Dim textbox As New TextBox

Assigning a new location for the VB.NET Windows Forms TextBox.
textbox.Location = New Point(10, 10)

Assigning a text value to the VB.NET TextBox control.
textbox.Text = "Please enter your name"

Setting the size of the TextBox Control.
textbox.Size = New Size(200, 23)

Adding a VB.NET Button control to the form.
Me.Controls.Add(textbox)



VB.NET TextBox control Tutorial.
Home About Privacy Policy Resouces Search

Copy Right 2006 SpeakComputers.com - All Rights Reserved.