Visual Basic .NET (SPRING 2004)
- Last assignment on Neko the
racing cats. Email note #1.
- Download the
EXEcutable sample program. It was
originally written in Visual Basic 6.0 (or earlier). You have the
VB 6.0 code for this EXEcutable sample program as a handout from
before spring break. VB 6.0 code is NOT VB .Net code, by the way! :-)
- Download the
NINE cat images (GIF files) you will need. Two are
for running animation, two are for scratching, and two are for snoozing.
math-cs:~/web/Neko> ls
awake.gif right2.gif scratch2.gif sleep2.gif yawn.gif
right1.gif scratch1.gif sleep1.gif stop.gif
- Your program will need to have a finish line for the cats to cross,
as well as recording and displaying who was 1st, 2nd and 3rd and 4th
to finish the race. (More specs and resources here later).
- Monday, March 22nd UPDATED handout.
Shows the techniques needed for arrays, using multiple Forms in an
application, ImageList controls, Timers, etc.
- Download the SECOND VERSION of Neko racing:
EXEcutable Cat race: Version 2. It
includes three new checkboxes, two new buttons, and three labels for the
Gold, Silver and Bronze.
- Download the THIRD VERSION of Neko racing:
EXEcutable Cat race: Version 3.
(As of 11:50 a.m. Wednesday, March 24th).
- Download the
SIX new cat images (GIF files) only if you get
ambitious and want to have additional fun. Two are
for running down the screen, two are for running up the screen, and two
are for running to the left or westward (instead of to the right or
eastward).
- Download the FOURTH VERSION of Neko racing:
EXEcutable Cat race: Version 4.
(As of 4:50 p.m. Wednesday, March 24th).
- Click HERE to see Visual Basic 6.0
user interface for version 4 at DESIGN TIME.
The ImageList Control used with the PictureBox control.
The ImageList control contains all NINE different cat images, as shown
in the Neko cat race software today in class.
Private Sub btnNewCat_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles btnNewCat.Click
Static whichPic As Integer
If whichPic < ImageList1.Images.Count - 1 Then
whichPic += 1
Else
whichPic = 0
End If
picNeko.Image = ImageList1.Images(whichPic)
End Sub
Due Wednesday, March 10th: Assignment
Two on file input, ListBox use and encryption concepts (for practice
with nested loops). VIP: Email
note
about the assignment and concepts.
James
Foxall Visual Basic .NET 2003 Textbook. Get the
Complete Starter Kit.
bebop:~/web/scheme> cal
February 2004
Su Mo Tu We Th Fr Sa
15 16 17 18 19 20 21 <----- No class on Wednesday, Feb 18th
22 23 24 25 26 27 28
29
bebop:~/web/scheme> cal 3 2004
March 2004
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13 <----- Quiz - Wednesday, March 10th
14 15 16 17 18 19 20
21 22 23 24 25 26 27 <----- Final Exam - Friday, March 26th
28 29 30 31
Chapter 18 Graphics Supplement: Monday, Feb 23rd
followup
example. Only a portion of the VB.NET code is shown.