UML stands for Unified Modeling Language.
Is a type of structure diagram which descibes the structure of the systems by showing all it's classes, attributes, properties and the relationship between the class. It kind of looks like a heirarchy chart.
Tuesday, March 31, 2009
OpenFileDirectory Notes
Insted of having 'dglOpenFile' at the start of property, we can instead add a 'With dlgOpenFile' and close with an 'End With', and have the properties inbetween.The 'filter' property filters out which files the user can select.
The 'InitialDirectory' states which folder to open up first. ie. "My Documents."
Cat and Dog Exercise.
In our 'Cat And Dog' exercise, instead of creating classes in one form/object, we can create the classes separately, meaning that it's less clustered, and it can be moved and imported to different projects.
Each class includes properties and methods.
The 'new' method is the 'constructor' of the class, and methods can accept argurments.
Each class includes properties and methods.
The 'new' method is the 'constructor' of the class, and methods can accept argurments.
Monday, March 23, 2009
Classes and Objects
The main difference is that the Class is the code itself; the code becomes an Object when you start using it.
.
LINKS:
http://www.homeandlearn.co.uk/net/nets11p1.html :Info on Classes and Object, .NET Framework.
http://www.programmersheaven.com/2/Les_VBNET_4_p1 :covers classes, objects, fields, methods/procedures and functions.
.
LINKS:
http://www.homeandlearn.co.uk/net/nets11p1.html :Info on Classes and Object, .NET Framework.
http://www.programmersheaven.com/2/Les_VBNET_4_p1 :covers classes, objects, fields, methods/procedures and functions.
Tuesday, March 10, 2009
Random Notes
Software Development Life Cycle (P.75-)
· Requirement Ananlysis.
· GUI Design: Sketches etc,
· Design Objects: Propeties + Methods.
· Code
· Testing
· Document
Variables.
· = =Assignment Operator.
· Dim = Dimensions.
eg. Dim VariableName As DataType
Dim strFirstName As String = "..."
Dim btnMembershipPaid As Boolean = True
Data Types:
· Integer = 3
· Decimal = 2.45
· Boolean = True or False
· Date - January 1, 2009
...
The rule is: A variable can be referenced only within the region of the program where it is defined.
Event Plan example (p.252)
· Requirement Ananlysis.
· GUI Design: Sketches etc,
· Design Objects: Propeties + Methods.
· Code
· Testing
· Document
Variables.
· = =Assignment Operator.
· Dim = Dimensions.
eg. Dim VariableName As DataType
Dim strFirstName As String = "..."
Dim btnMembershipPaid As Boolean = True
Data Types:
· Integer = 3
· Decimal = 2.45
· Boolean = True or False
· Date - January 1, 2009
...
The rule is: A variable can be referenced only within the region of the program where it is defined.
Event Plan example (p.252)
How to show line numbers in code view.
- Tools > Options
- Expand Text Editor
- Expand Basic
- Click General
- Display > Check 'Line Numbers'
ASCII and UNICODE
ASCII stands for American Standard Code for Information Interchange, it is a standard code for displaying and encoding characters in a way that can be understood by a computer.
UNICODE is a series of character encoding standards which intend to support most of the characters in different languages.
UNICODE is a series of character encoding standards which intend to support most of the characters in different languages.
Subscribe to:
Posts (Atom)
