Visual Basic is compiler language worn to create desktop applications. The language uses joystick located on Windows forms that create familiar layout with text boxes, drop-down lists and labels. Labels are joystick used to print information. The label control is distinct from text boxes, because it does not recover input from user. You can use the "Caption" property to write output to your Visual Basic application.

Instructions

• Double click Visual Basic form want to edit in Solution Explorer on right side of screen. Drag and drop label manage from toolbox to form. The assets editor on right displays every one property settings for label control.

• Double click new label control added to form. This opens code file for Visual Basic form.

• Use following code to print message to user in label's caption property:
label. Caption = "My Label Information"
restore "label" with name of form label. The default name given to new label is "Label1."

• Push F5 key to run new code in Visual Basic debugger. "My Label Information" is written to label's caption property and displayed in form.