|Time & Place:||Ref No. 94816: Tuesday & Thursday, 5:30–6:45 PM, Dale Mabry Room DTEC–427|
Name: Wayne Pollock|
Office & Phone: DTEC–404, 253–7213.
DM Office Hours: Monday–Thursday, 3:55–5:25 & Tues., Thurs. 8:20–8:35;
On-line Office Hours: Wednesday–Friday, 12:00 PM (noon)–1:00 PM; or by appointment.
|Text:||Bradley, Julia Case, and Millspaug, Anita C., Programming in Visual Basic 2008, ©2009 by McGraw-Hill. ISBN-13 # 978-0-07-351720-9.|
|Description:||Provides a basic overview of Windows programming and applications.|
|Objectives:|| Upon completion of this course, the student will be able to
write event driven programs to create Windows applications in the
To achieve this objective the student will:
|Prerequisite:||CGS 1000 or Permission of the Instructor. Students enrolled in a degree or college credit certificate program must complete all prerequisites.|
|Facilities:|| All assignments can be performed on any computer that supports
Visual Studio 2008 (for this course you only need the |
Expressedition, which only supports Visual Basic development). You will need your own floppy/flash disk, writing materials. You can use HawkNet (WebAdvisor) or Florida Virutal Campus (Formerly FACTS.org) to obtain your final grade for the course.
Microsoft Software Availablity
As a member of the Microsoft Academic Alliance HCC
is able to make certain Microsoft products available at no charge
to students registered for certain courses in the Computer Science
department at the Dale Mabry campus.
This includes Visual Studio 2008 development software.
An account will be created for each student on the MSDN
Academic Alliance Software Center which will enable students to
download the software (or purchase a CD that will be
mailed to your home).
The Lab Techs will create accounts as students come to the counter
requesting the software.
Once the account is created students will be sent an email from
Please keep in mind that you will only be allowed to download each program once!
Students at HCC also have the ability to purchase Microsoft and other software for heavily discounted prices from retail. Examples of software available through this program include Microsoft Office 2007 Professional Plus edition, Windows 7, Microsoft Visio, and other related Microsoft products. These software products are the full academic versions and have the same benefits as software purchased off the shelf at a retail store.
Students will need to access the website at hccfl.onthehub.com and will need to provide their HawkMail email address to be properly authenticated. (This may take up to a week.) This program requires that students pay for their selected software products with a credit card and the software will be mailed to their home address. Students will be allowed to purchase only one copy of a selected software product.
An additional location you can try is www.TheUltimateSteal.com, the official Microsoft student discount program. One benefit of this is the software is available for immediate download. Also some software bundles from here may contain more applications than the hccfl.onthehub.com version.
HCC DM Open Lab
Computers are located in the computer science department open lab in DTEC–462. Lab hours are:
A=180-200, B=160-179, C=140-159, D=130-139,
Projects will be assigned from the class web page
at various times.
You will have sufficient time to complete the projects,
at least a week but usually two or more weeks.
Although there will be in-class group exercises,
you must work individually on the projects,
typically outside of regular class hours.
Programming projects are graded according to their design (25%), how well they compile and run (20%), how well your project meets the requirements specifications (20%), the coding style (15%), the amount (and quality) of your comments (10%), and your creativity in extending the project usefully, or an innovative design that uses the features taught in class well, etc. (10%).
Projects are not graded when turned in. They are graded all at once, sometime after the project deadline has passed (usually the next weekend). Further details will be provided with your first project. (See also submitting assignments below.)
Homework assignments (also known as take-home quizzes)
are assigned from the text at various times.
At the end of each chapter there are both |
programming exercises. All homework questions, unless otherwise noted, are from the
review questionsand not the
programming exercises. Some assignments may be based on on-line readings instead of the text.
You may work together in small groups (two or three people) for the homework assignments, provided the names of all who worked together are listed. Each student must still submit their own copy.
Homework assignment questions are intended to focus your studying of
the readings and to stimulate class questions and discussion.
For this reason they are generally due before the class
where that material is covered.
It is not intended that students can answer all the
questions assigned, but you must show you have thought about the
questions and read the required material in order to earn an
All assignments (except when noted) should be submitted by email to
Please use a subject such as |
Visual Basic I Homework Assignment #1 Submissionso I can tell which emails are submitted work. Send only one assignment per email message. Email your projects as
zipattachments, except when noted in the assigment directions.) Make sure you use my Yahoo.com email account, since HCC's mail server (and Gmail!) will not accept email with certain types of attachments. Note: If you use Microsoft Outlook Express or a similar email program, please be aware that this program has a
featurethat automatically converts slash-slash (
//) comments in your email to
FILE://. Make sure your java source is correct before you send the email! If possible, use the
textand not the
HTMLmode of your email program.
In the event a student submits more than once for the same assignment, I will ignore all but the last one received up to the deadline. Assignments submitted after the deadline will not count toward your grade except as allowed by the course late policy.
The HCC email server automatically accepts and
silently discards email with certain types of attachments.
If you must send email to my non-Yahoo.com email
account please avoid using any attachments, but especially
To avoid having your submitted work rejected as
If you have an email problem you may turn in a printout instead. Be sure your name is clearly written on the top of any pages turned in. Please staple multiple pages together (at the upper left).
|Classes Begin:||Monday 1/11/10 (First class meeting: Tuesday 1/12/10)|
|Add-Drop Ends:||Friday 1/15/10|
|Last Day to Withdraw:||Thursday 3/18/10|
|Classes End:||Monday 5/10/10 (Last regularly scheduled class: Thursday 5/6/10)|
|Grades Available:||Thursday 5/13/10 (from Florida Virutal Campus (Formerly FACTS.org) or HawkNet)|
|HCC is closed on:||
Monday 1/18/10 (Martin Luther King Day), |
Monday 2/15/10 (Presidents' Day),
Friday–Sunday 3/26/10–4/4/10 (Midterm Break),
Thursday 4/15/10 (In-Service Day)
If, to participate in this course, you require an accommodation due to a physical disability or learning impairment, you must contact the Office of Services to Students with Disabilities, Dale Mabry campus: Student Services Building (DSTU) Room 204, voice phone: (813) 259–6035, TTD: (813) 253–7035, FAX: (813) 253–7336. Brandon campus: voice phone: (813) 253–7914.
HCC has a religious observance policy that accommodates the religious observance, practices, and beliefs of students. Should students need to miss class or postpone examinations and assignments due to religious observances, they must notify their instructor at least one week prior to a religious observance.
Tell me and I'll listen.
|— Lakota Indian saying|
Learning is not a spectator sport!
|— Chickering & Gamson|
|Topics, Assigned Readings, and Assignment Due Dates|
Course introduction, Personal introduction, LAN use.
Open Lab procedures and hours, virus checking, Role of lab techs.
Overview of computer systems, programming, and Visual Basic.
Readings Due by 1/14: Programming Overview
Assignments Due by 1/14: Download and install Visual Studio 2008, either the full or the
Visual Basic Expressedition, 0 points.
|1/18 (Mon)||Martin Luther King Day — HCC Closed|
Learning Visual Studio and
Learn how to develop both GUI
and console VB programs.
Discuss the differences between syntax, logic, and runtime errors.
Readings Due by 1/19: Chapter 1 (work through all hands-on projects and examples)
Assignments Due by 1/21: Programming exercise #1.1 (page 62) and the
Very Busy (VB) Mail Ordercase study (page 64), 10 points.
Learning Visual Studio User Interface controls and styles:
text boxes, multi-line text, grouping, check boxes and radio buttons,
picture boxes (images); borders, styles, colors, andlines;
control alignment and positioning a form on the screen.
Keyboard access and tab order. Tool tips, setting the focus,
visible/invisible and enabled/disabled.
&); continuing long lines (with
pop-updialog windows (MessageBox); Shape controls.
Readings Due by 1/26: Chapter 2 (work through all hands-on projects and examples), also pages 140–141 (MessageBox)
Assignments Due by 1/28: Programming exercise #2.2 (page 103–104), 10 points.
Structure (code organization) of a VB.net program.
Using and declaring variables and constants (literal values)
of different types,
understanding scope of variables and objects,
converting text to numbers and vice-versa.
Readings Due by 2/2: Chapter 3 (work through all hands-on projects and examples) pages 109–120, 129–136, VB.net Program Structure
|Presidents' Day — HCC Closed|
Using math operators and functions (calculations and assignment
error handling (
Readings Due by 2/2: Chapter 3 (work through all hands-on projects and examples) pages 120–129, 137–153
Assignments Due by 2/18: Programming exercise #3.4 (page 155), 20 points.
Boolean expressions, if statements, and case statements.
Valdidating (user input) data.
Working with Event handler procedures.
Using Visual Studio 2008 debugging features.
Readings Due by 2/23: Chapter 4 (work through all hands-on projects and examples)
Menus and Dialog boxes.
Creating and invoking procedures; parameter pasing,
function return values
Readings Due by 3/2: Chapter 5 (work through all hands-on projects and examples)
Assignments Due by 3/4: Case study
Very, Very Boards(Ch. 4, pages 210–211), 25 points.
Assignments Due by 3/9: Programming exercise #5.4 (page 250), 20 points.
Updating assembly information, creating
and using splash screens.
Working with Multi-form projects,showing and hiding forms,
Scope and Lifetime review.
Readings Due by 3/11: Chapter 6 (work through all hands-on projects and examples)
Assignments Due by 3/16: Programming exercise #6.4 (pages 284-285), 20 points.
List Box and Combo Box controls.
Do loops, For-Next loops, Early exiting from loops:
exit and continue statements.
Readings Due by 3/16: Chapter 7 (work through all hands-on projects and examples)
Assignments Due by 3/25: Programming exercise #7.1 (page 324), 15 points.
Introduction to arrays.
Readings Due by 3/25: Chapter 8 (pages 330–333)
|3/26 – 4/4||Midterm Break — HCC closed|
Uses of arrays, arrays with ListBoxes.
Structures and arrays of structures.
Multi-dimensional arrays and jagged arrays.
Readings Due by 4/6: Chapter 8 (work through all hands-on projects and examples)
Assignments Due by 4/8: Programming exercise #8.3 (page 356), 25 points.
Introduction to Object-Oriented Programming:
Objects and Classes, Abstraction and Encapsulation.
Readings Due by 4/13: Chapter 12 (pages 470-475)
|4/15||Faculty In-service Day — HCC closed|
Class (instance) variables and shared class variables,
properties, methods, constructors and destructors,
inheritance and overriding methods, polymorphism,
abstract base classes (using
MustInherit), Working with multi-class projects, mult-tier applications.
Readings Due by 4/20: Chapter 12 (work through all hands-on projects and examples)
Assignments Due by 4/27: Programming exercise #12.11 (page 522), 25 points.
Using databases in VB.net, XML,
Readings Due by 4/27: Chapter 10, pages 401-423, 431-437 (work through all hands-on projects and examples except the web form example). You will need to download RnrBooks.mdf.
Assignments Due by 4/29: Programming exercise 10.1 (page 437), 25 points.
Using files in VB and in .net.
Readings Due by 5/6: Chapter 11 (work through all hands-on projects and examples)
Assignments Due by 5/10: Programming exercise 11.2 (page 466), 25 points. This is an optional, extra-credit project.
|MCPD Certification||Information about Microsoft's entry level programming certification||Photo of PDP-11 console||The old way to enter programs was via switches on a console|
|Assembly Demo||Shows a C program with its assemby and machine code (in hex)||Soft Skills||Discusses the non-technical skills needed to find and keep a job|
|Programming Overview||Programming background information, not in the book||Visual Basic 2008 Express Edition||Download Microsoft's free version of Visual Studio 2008 for Visual Basic|
|Visual Basic Developer Center||Information, tutorials, and additional downloads for VB||Visual Studio 2008 Professional||You can download the full Visual Studio 2008 here for a 90 day evaluation, almost long enough for our course|
|Visual Basic Beginner's Guide||A video tutorial showing VB programming (requires Mircosoft Silverlight to view)||ConsoleAppModule.vb||The code for a non-GUI console application, ConsoleAppDemo.exe.|
|Form1.Designer.vb (Before)||The code generated using the designer for a Windows project, before adding any controls||Form1.Designer.vb (After)|| The code generated using the designer for a Windows project,
after adding a
|Visual Basic Power Pack 3.0 download||Adds additional controls to your palette||HelloWorld.exe|| Model Solution of the
Hello, World!Project (view screen capture)
|Visual Basic .Net Program Structure||a description of how VB.net code is organized||www.PurpleMath.com||Good site for basic math and algebra tutorials (something all technology workers need to know)|
|Custom Mask Reference||Defining a custom mask for a MaskedTextBox control||InvisibleButtonDemo.exe|| Demo of the
invisible buttontechnique to hide the initial focus (view: screen capture, InvisibleBtnForm.vb, InvisibleBtnForm.Designer.vb)
|Visual Basic .Net data types||A chart describing the various data types in detail, for different versions of VB and .net||VB.net Operator Chart||VB.net Operators, precedence rules, and other information|
|ConversionDemo.exe||Demos various conversions from Double to String. See: screen capture, ConversionDemo.vb, ConversionDemo.Designer.vb||Formatting Data||Describes how VB formats data as Strings by default, and how to customize the ToString method to control the formatting|
|ASCII Collating Sequence||A chart showing the ordering of ASCII characters||Test Case Self-Assessment||Attempt to generate sufficient test cases for a simple program|
|Validation Demo||A VB.net project showing various validation techniques||Validation Demo 2||A VB.net project showing additional validation techniques such as tool-tips|
|Event Handling Demo||Shows a good technique for handling events from a group of RadioButtons|
|Standard Windows Accelerator Keys||Lists the common menu (and some other) accelerator key assignments||Standard Windows Shortcut Keys||Lists all the standard accelerator and shortcut key assignments for Windows|
|Modal and Modeless Dialog Boxes||Shows using a second form for dialog boxes||Common dialog box: BrowseFolder||Shows a screen capture of the Browse Folder common dialog box|
|Common dialog box: OpenFile||Shows a screen capture of the Open File common dialog box||Common dialog box: SaveFile||Shows a screen capture of the Save (as) File common dialog box|
|Creating and Invoking Procedures (PDF)||Some notes on designing, creating, and using procedures||Using Forms and Assemblies (PDF)||Some notes on using multiple forms, project and assembly properties, and related topics (lecture notes)|
|ComboBoxDemo.exe||Shows some features of ComboBox controls, including how to intercept the Enter key (Return key) to add new items to the list. View ComboBoxDemoForm.vb and ComboBoxDemoForm.Designer.vb||PrintingDemo.exe||Shows how to use common print dialogs. View PrintingDemoMainForm.vb and PrintingDemoMainForm.Designer.vb. Download whole VB.net project PrintingDemo.zip|