Saturday, September 26, 2009

Email me

I would like you to write me an email with the following information:

  • Your name
  • Any programming experience
  • Why you are taking this class
  • What you hope to gain from this class
  • Any other information you'd like me to know

david.freer@gmail.com

Tuesday, September 8, 2009

First class code!

Here is the code from the first class!

First class

My email address:

david.freer@gmail.com

Please email me if you have any questions!

Install VB Express.

Thursday, July 9, 2009

DOCUMENT 1.

To publish the project, follow the Wizard under Build -> Publish.

From the UK

This example shows step by step how to connect a database to a VB.NET program.

In my opinion, this is the best tutorial I have found to connect a database and a VB.NET forms application without using the Wizard. Everything is step by step and done without much jargon or added complication. I think you will find it useful.

Remember: For the time of day=
Now.TimeOfDay.ToString

Excellent Links for DB Programming

This is a school database example that can be used as a template to create a working application. Click here.

Tuesday, July 7, 2009

Student...Graduate Student

Create a student class with two attributes and getters and setters.

Create a graduate student class with one other attribute.

Allow users to enter the info about one or the other...create the two objects depending on what the user chooses.

Here's the code from tonight's class (Baseball Players).

When creating classes....

MyBase.New() 'will access the parent classes constructor

Public Class BaseballPlayer
Inherits Player

'to create a BaseballPlayer from a Player class!

Here is the presentation...

Thursday, July 2, 2009

Code from today

LemoninfoTableAdapter.Insert(txtID.Text, txtLargeSold.Text, _
txtSmallSold.Text, txtName.Text)
Dim newRow As LemonadeStandDataSet.LemoninfoRow
newRow = LemonadeStandDataSet.Lemoninfo.NewLemoninfoRow
newRow.ID = txtID.Text
newRow.LargeSold = txtLargeSold.Text
newRow.SmallSold = txtSmallSold.Text
newRow.SalespersonName = txtName.Text
LemonadeStandDataSet.Lemoninfo.Rows.Add(newRow)

This above code is the most important from today!

Here are the two projects.

Tuesday, June 30, 2009

Database project

Here it is.

To determine prime number

Function determinePrime(ByVal x As Integer) As Boolean
For a = 2 To x / 2
If x Mod a = 0 Then
Return False
End If
Next
Return True
End Function

Serial Port Tutorial

Try this!

Lemonade

Click here for lemonade.zip.

Thursday, June 25, 2009

Today's code!

Click here for today's code.

Here is the code from mediafire.

OOP ** Four Questions! **

  1. What is object oriented programming?
  2. What is a class?
  3. What is an object?
  4. What is an attribute?

Tuesday, June 23, 2009

Code from the first class

Here are the projects from the first class.

First blog post

What do you hope to accomplish by the end of the course?

Next, copy sample code from the Console applications as well as from the GUI application that we created.

Miles per gallon program!

'Ask the user for the distance they travelled (in miles)
'ask the user how much gas they used (in gallons)
'calculate the miles per gallon and determine whether the
'driver is getting a good miles per gallon!

Some information about yourself!