PRG 240 - Class #1 Lecture
Distribute & discuss course syllabus
Take note of the schedule for class as posted on our home page.
Class on Feb 5 and Feb 19 will be 7-8 pm.
Introduction to textbook, Advanced
Programming Using Visual Basic 6.0, by Bradley & Millspaugh
Introduction to the course Web site ( www.minich.com/education/racc/cis232
)
Introduction to Visual
Basic 6.0 and obtaining the software
Set up & test the VB environment in our lab. See Setting Environment
Options on p. 8.
Review the Ch. 1 Notes.
Appendix C Review (Introductory VB Topics - on p. 584) - If necessary,
build a project that uses selected VB controls and syntax to review elementary
VB concepts.
Ch. 2 Lecture & build a Ch. 2 demo program that illustrates
selected topics
- Create an MDI project (p. 29) by adding an MDI parent form to a project.
- Closely observe the interface of MS Word with parent and child forms.
- Add a Windows menu to the parent form by setting the WindowList property
to True.
- Use the parent form's Arrange method to cascade or tile the child forms
with separate menu options on the Windows menu.
- Add an exit command button that properly unloads all of the forms by using
a For Each loop in the form's Unload event procedure (p. 32).
- Create a shortcut menu (aka Popup menu) that the user can invoke with a
right-click.
Homework Assignment:
- Scan Appendix C as necessary, especially:
- Collections p. 591
- Forms pp. 604-606
- Menus p. 610
- Scan Ch. 1 especially if you've never used the VB debugging tools.
You will not be specifically tested on this material though.
- Read Ch. 2. Next week we will discuss the process of "dynamically
adding and removing controls at run time (pp. 32-40)" but do your best
to understand from reading the chapter. We will also spend some class time
going over Toolbars, StatusBars, ImageLists, TreeViews, ListViews, and Tabbed
Dialog controls at our next class but try to understand the use of those controls
as much as possible. You do not have to focus on the Handling Errors material
on pp. 61-67.
- Study the code for the textbook's Advanced Vision and Beyond project
on pages 69-88. You should execute the project which can be found on your
Student Data CD.
- Begin the Ch. 2 VB Auto Center case study on p. 92 and bring the
project to class on a floppy disk saved in a folder named Ch2VBAutoCenter.
This will not be collected or graded next week. However, we will spend class
time debugging the project and discussing aspects of it.
Copyright © 2001 Curtis Minich. All Rights Reserved.