VB.NET Worksheet
Visual Basic Tasks Task 1:
•
Create a basic interface with a text box and a button
•
Change the name properties of each using appropriate naming conventions
•
Create code to count the number of letters typed into the text box. The code should betriggered by the user clicking the button
Double-click on the button
A procedure will be created using the click event –
Private Sub btnCount_Click
Task 2:
•
Create a basic interface with two text boxes and a button
•
Change the name properties of each using appropriate naming conventions
•
Create code to swap the contents of the two text boxes. The code should be triggered bythe user clicking the button
Add a new form for this task. To add a new form:
Select
Properties
Add Windows Form
Windows Form
(This is the default – already selected)
Type the name of your new form
Open
Task 3:
•
Create a basic interface with a large text box and a button
•
Change the name properties of each using appropriate naming conventions
•
Create code to count the number of words entered into the text box. The code should betriggered by the user clicking the button
Add a new form for this task.
Task 4:
Page 1 of 2
Add a Comment