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
Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010

VB.NET Label Control.

The VB.NET Label control is used to display text to the end user for a control descriptive instruction. This might be a instruction on a TextBox field.

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

Creating an new VB.NET Windows forms Label.
Dim label As New Label

Assigning a new location for the VB.NET Windows Forms Label.
label.Location = New Point(0, 0)

Assigning a text value to the VB.NET Label control.
label.Text = "Computer Name"

Assigning an AutoSize value to the Label Control.
label.AutoSize = False

Assigning a Size value to the Label Control.
label.Size = New Size(200, 23)

Assigning the BackColor property to the VB.NET Label Control.
label.BackColor = Color.Black

Assigning the ForeColor property to the VB.NET Label Control.
label.ForeColor = Color.White

Adding a VB.NET Label control to the form.

VB.NET Label control Tutorial.
Home About Privacy Policy Resouces Products Map

Copy Right 2006 SpeakComputers.com - All Rights Reserved.
Learn Spanish
Learn Spanish for free with our online and free tutorials with audio. See our grammar sections, verb sections and drills, massive vocabulary sections with audio, our Spanish verb conjugator and more.
Free Text to Speech Software
Get software that makes your computer read text aloud.
Text to Speech software that supports natural sounding TTS voices.
Convert text to MP3 files
Listen to webpages aloud or convert them to sound files