View Weekly Course Schedule.
View Course Resources. |
Time & Place: | Ref No. 94816: Tuesday & Thursday, 5:30–6:45 PM, Dale Mabry Room DTEC–427 | ||||||
---|---|---|---|---|---|---|---|
Instructor: |
Name: Wayne Pollock E-mail: Internet: 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
.Net framework.
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 LabComputers are located in the computer science department open lab in DTEC–462. Lab hours are:
| ||||||
Grading: |
Grading scale:
A=180-200, B=160-179, C=140-159, D=130-139,
F=0-129 | ||||||
Policies: |
| ||||||
Projects: |
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.) | ||||||
Submitting Assignments: |
All assignments (except when noted) should be submitted by email to
waynepollocklive@yahoo.com.
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.
Quotes: | Tell me and I'll listen. | — Lakota Indian saying | |
---|---|---|---|
Learning is not a spectator sport! | — Chickering & Gamson |
Dates Tue Thu |
Topics, Assigned Readings, and Assignment Due Dates |
---|---|
1/12 1/14 |
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 |
1/19 1/21 |
Learning Visual Studio and
MSDN help.
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: Due date extended until 1/26 Programming exercise #1.1 (page 62) and the Very Busy (VB) Mail Ordercase study (page 64), 10 points. |
1/26 1/28 |
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.
Using with to simplify code;
concatenating text (with &); 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. |
2/2 2/4
2/9 2/11 |
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 |
2/15
(Mon) | Presidents' Day — HCC Closed |
2/16 2/18 |
Using math operators and functions (calculations and assignment
statements),
error handling (try/catch blocks).
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. |
2/23 2/25 |
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) |
3/2 3/4
3/9
|
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. |
3/11
3/16
|
Updating assembly information, creating
and using splash screens.
Working with Multi-form projects,showing and hiding forms,
form events.
Scope and Lifetime review.
Namespaces.
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. |
3/16 3/18
3/23 3/25 |
List Box and Combo Box controls.
Do loops, For-Next loops, Early exiting from loops:
exit and continue statements.
Printing.
Using and With 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. |
3/25 |
Introduction to arrays.
Readings Due by 3/25: Chapter 8 (pages 330–333) |
3/26 – 4/4 | Midterm Break — HCC closed |
4/6 4/8 |
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. |
4/13 |
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 |
4/20 4/22
4/27
|
Object-Oriented Programming:
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. |
4/27 4/29
5/4
|
Using databases in VB.net, XML,
Using ADO.NET.
Data binding.
Using LINQ.
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. |
5/6 |
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. |
Resources | |||||
---|---|---|---|---|---|
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 Label and changing its Text |
||
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 |