Lesson Plan : Getting Started w/ Visual Basic
Teacher Name: | Ryland |
Grade: | Grade 11-12 |
Subject: | Other |
Topic: | Visual Basic-Getting Started-Chapter 2: Writing Your First Program |
Content: | Create the user interface for a new program Set the properties for each object in your user interface Write program code Save and run the program Build and executable file |
Goals: | For students to be able to create a Graphical User Interface (GUI) in Visual Basic that uses buttons, labels and buttons and write the code for the basic program. |
Objectives: | To use the tools on the toolbox to create a basic Graphical User Interface (GUI) in Visual Basic To set the properties for the tools that were used To write the program code to make the the GUI usable To succesfully run a program To build an executable file |
Materials: | Visual Basic program Laptop Projector Getting Started Books |
Introduction: | Using Music Trivia file, go through the VB.NET window and how to use the Toolbox and Properties Windows. Demonstrate how to add controls, format the controls using the properties, and add code. Run the revised program. |
Development: | Exit VB.Net and restart. Create a new program, explain how to name and establish location. Guide students through creating the Lucky7 form using the toolbox & the following controls: buttons, labels, and picture box. |
Practice: | Using the Properties window, students will make formatting changes to the 2 buttons, 4 labels and 1 picture box. Students will then double-click the items that need to be coded and the will type in the needed code to make the program run. |
Accommodations: | Students will be given a printed copy of the necessary code, to assure that their first time entering code isn't too overwhelming or confusing. |
Checking For Understanding: | Check in with students after each major task to make sure they are where they need to be. The MyLucky7 program will be graded on their computer. The criteria being graded is: Forms Appearance and Program's Funcationality. |
Closure: | Ask students if there are any final questions. Briefly review the concepts covered: adding controls to a form, changing the properties and adding necessary code to make the program run. |
Evaluation: | Programs Appearance -- Have all controls been changed? Programs Functionality -- Does the program run properly? |
Teacher Reflections: |
Create New Lesson Plan | Lesson Plan Center |