Monday, July 27, 2009

Semester 2 Week 2 28/7/09

String Functions

IntCharacters = txtText.Length
.ToLower - changes characters to lower case
.ToUpper - changes characters to upper case

Validation Controls - ensures input is correct - could include: user must enter something in box or entry must be between eg. 1-10

Required Field Validator
If txtFirstName.Text()" " Then
continue
End If

Sunday, July 26, 2009

Chapter 7

Today we are learning about Creating Web Applications in Chapter 7
FTP = File Transfer Protocol
Default: ASPX = Active Server Page

Set up Twitter Account, names to follow:
Jake = jturner33
Adrian = bulioca
Randy = sober300
Wayne = strohy32
Sarah = alucard579
Deb = chippyandme
De = deannem75
Rachael = burntsugar

API = Application Programming Interface

Played with entering code in VB to update Twitter account - and it worked

Monday, July 20, 2009

To create a hotkey:

&File - this will create the F as a the hotkey

Do Until - condition is reached
Do While - condition is true

Do Loops - Top Control or Bottom Control.

Chapter 6 assignment finished, publised and ready to be handed in next week

Sunday, July 19, 2009

Visual Basics 20.7.09

Declaration is a space in Memory

Data Types: String, Integer, Decimal, Boolean, Date, etc.

_ underscore at end of line means to continue on next line

Functions & Procedures
Functions return values

Decision Structures have
Relational Operators: = equals, <> greater than, <> not equal to, >= greater than or equal to, <= less than or equal to
Logical Operators: And, Or

Unicode Keyboard Characters - the 256 characters & symbols used

SDLC = Software Development Life Cycle -
Reg. Analysis - GUI design -Object Design - Code - Testing - Document

Class Diagram
Object Name
Properties - describes/defines state of object
Methods - defines things the object can do
Constructor - New (argument)

Array
Populate with references to the image

Loops
A structure that repeats a set of instructions starting at 0
2 types
For Next loop - if you know the number of items - set number
Do loop - unknown number of items to be repeated - continues until it meets a condition