The midterm exam test scores
distribution and conversion.
Popup menus review of Friday,
November 8th menus lecture, useful for your assignment for the
Print menu and the Font and Colors menu, and the two popup menus
that are needed too. This is NOT your assignment. It is just
Converting from base 10 to base 16 using Visual Basic
Decimal to hexadecimal is
harder than decimal to binary.
Due date: Wednesday, November 20th
Using the CommonDialog control for Fonts and
Colors and doing top-down development, stepwise refinement, for loops
practice program that uses menus.
. Turn in screen snapshots demonstrating that the popupmenu works,
and that the Font sizes and Forecolor were changed. Also show the
pull-down menu in one screen snapshot. Turn in your VB code printout
too. Assigned (handed out) on Friday, November 8th.
How to go about getting pull-down and pop-up
and HOW to CROP and then RESIZE a
Here are answers for some of the Midterm Study Guide
questions that have come up since
You do NOT have to know how to do the Line command yet. Clear Screen is
used for ERASING drawing, and is Cls or Picture1.Cls to be exact.
Documentation for the
Statement in Visual Basic.
' Here is the solution to one of the problems from Friday, November 1st
' class. It is the toughest nested loop problem that was proposed.
' It prints a beautiful V pattern (if you use Courier New font!) of the
' data the user typed in the Textbox txtSchool
For i = 1 to Len(txtSchool)
For j = 1 to i - 1 ' 1. Print leading spaces
Print " ";
Print Mid(txtSchool, i, 1); ' 2. Print the ith letter
For j = 1 to 2 * (Len(txtSchool) - i) ' 3. Print embedded spaces
Print " ";
Print Mid(txtSchool, i, 1); ' 4. Print the ith letter
Print ' 5. Advance to the next line
Question: How many times will Visual Basic execute the Print statement
for the word eight letter word Panthers?
to use in mastering For Next loops and Strings (Left(), Right(), Mid()
and Len() functions.
Here is a
study guide of practice questions
for the Wednesday, November 5th midterm exam and the December final
Assignment is due on Wednesday, October 16th. The 12 questions
and the waggle dancing bee flower drawing program are due on 10/16.
Next quiz (Quiz #3) is on Friday, October 18th.
Friday, October 10th
which illustrates Mod operator, Timers, QBColor() function, Print with
semicolon to stay on same line, and the GLOBAL variable concept.
Want to DOWNLOAD the DragDrop() icons for Trash
Barrel and DragOver and animated smoke example.
See what the icons look like before
or after you download them.
ICONS: Where do you find the ICONS on your hard drive or the C: drive
on the Wright Hall computers? You can set the Picture property of an
Image or a PictureBox control to any of these 100s of icons.
The path is the following:
C:\Program Files\Microsoft Visual Studio\Common\Graphics\Icons
See some of the Misc folder's icons.
Also, not the title bar of the window shows the path to the Misc folder.
October 2nd class: This should be VERY HELPFUL for
Review of the movies example
(how to improve your GOLF game) and Wednesday, October 2nd handout
Golfer's AVERAGE SCORE
algorithm logic is as easy to comprehend as A, B, C. Study this
Dates and pages:
Schedule for GOLFERS program and
QUIZ #2 and QUIZ #3 is
QUIZ ON MONDAY SEPTEMBER 23rd:
Practice Quiz to look at,
but study ALL of your lecture notes too please.
QUIZ ON MONDAY 09/23 and
09/20/Friday Lab Review.
Vertical Scroll Bars, RGB function, default properties, Change() and
Scroll() events, etc.
Assignment #2: Due on Friday, September 20th
File Browser application for
your graphics file browsing needs.