Please enable JavaScript to view this page.

Visual Basic Programming II

CST 271

Visual Basic Programming II

CST 271

Course Description

Prerequisites: Prerequisites: CST 171 and CST 173.

Writes programs in a Windows environment using Visual Basic to design custom user interfaces with menus and dialogue boxes. Set up menus, create functions, and create executable files. Includes multiple forms, arrays, object linking and embedding, sequential and random data files, databases, and trapping programming errors. (45-0)

Outcomes and Objectives

Create functions, sub procedures and use common dialog boxes.

Objectives:

  • Learn the difference between a function and sub procedure
  • Create a function and a sub procedure
  • Be able to use common dialog boxes in a program

Formulate an information question and develop a strategy to solve the problem

Objectives:

  • Evaluate the information to determine the tools needed to solve the problem
  • Interpret output to assist in debugging a program

Solve a problem working with others to achieve a common goal

Objectives:

  • Respect other individuals opinion in solving a problem as a group
  • Accept the responsibility of individuals in a group setting

Work with multiple forms in the Visual Basic environment

Objectives:

  • Design and create a project with multiple forms
  • Create procedures that are accessible from multiple form modules
  • Add a splash screen to any project
  • Set the startup form to start project execution

Define, create and use Arrays

Objectives:

  • Set up and use a control array
  • Establish an array of variables and refer to individual elements in the array with variable subscripts
  • Create user-defined data types for multiple fields of related data
  • Distinguish between direct access and indirect access of a table
  • Store and use data in multidimensional arrays

Design and understand Object-Oriented Programs (OOP)

Objectives:

  • Understand the terminology and create a class that has properties and methods
  • Use property procedures to set and retrieve private properties of a class
  • Declare object variables and assign values to the variables using the SET statement
  • Create a collection of objects
  • Add properties to a form

Design and access database files

Objectives:

  • Display data in a Data Grid control
  • Bind data to textbox and labels

Explain how to program and use Web Forms

Objectives:

  • Understand how to set up forms to be viewed in a browser
  • Be able to pass data from one web form to another

Demonstrate graphics in the Visual Basic environment

Objectives:

  • Understand the measurements in the graphics coordinate system
  • Create graphics using graphics methods
  • Understand the graphics-layering principles
  • Load and change pictures at run time
  • Use the timer control
  • Create simple animation

Gather information by reading the text

Objectives:

  • Identify the main points of a problem
  • Derive meaning from reading the text
  • Correctly interpret the information, draw conclusions and write the code necessary to solve the problem

Integrate the information to solve a problem

Objectives:

  • Correctly interpret the information given in a problem
  • Draw conclusions from reading the problem and write down a solution