Monday, March 1, 2010

another hw:
under strings, 3.4, even #s from 34 through 40, and 44

some code from class

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim sentence As String
        sentence = "The rain in Spain falls mainly on the ground"
        Dim startpos, spacepos, wordlen As Integer
        startpos = 0
        spacepos = sentence.IndexOf(" ", startpos)
        wordlen = spacepos - startpos
        Debug.Print(sentence.Substring(startpos, wordlen))

        startpos = spacepos + 1
    End Sub
End Class

Monday, February 22, 2010

assignment: computer game

make an apple fall from a tree. if you click it before it falls off screen, then you win. otherwise, you do not win.

use pictureboxes and a timer to accomplish this.

Thursday, February 18, 2010

a homework

section 3.3
17-22
29, 30

Wednesday, February 3, 2010

Welcome to the Spring 2010 Semester

    Visual Basic.NET 2008
    qccs80.blogspot.com
    joshwaxman@gmail.com
    Syllabus to come

    2 Midterms, 1 Final
    25%, 25%, 30%
    HWs - 10%
    projects - 10%

    microsoft.com/express
    msdn academic alliance

    David I. Schneider
    Introduction to Programming    Using Visual Basic 2008
    http://books.google.com/


http://books.google.com/books?id=QesoYPIkLAAC&lpg=PP1&dq=Introduction%20to%20Programming%09Using%20Visual%20Basic%202008&pg=PA175#v=onepage&q=&f=false


create a new program
Label
Button
it will say "hello world"

HW: Goodnight moon program
2008 edition
# ISBN-10: 0136060722
# ISBN-13: 978-0136060727

2005 edition
ISBN 0130306541

Friday, December 11, 2009

Thursday, December 10, 2009

Answers to Midterm 2

are here.

Answers to midterm 1 to come a bit later...