Download presentation
Presentation is loading. Please wait.
Published byGarey Hawkins Modified over 9 years ago
1
Visual Basic Programming With Mr. deVries
2
Programming A series of instructions that are used to solve a problem Programmers must be open to seeing the world through many perspectives “An open mind: It’s a good thing” ~Martha Stewart
3
Object Oriented Programming Deals with data in terms of objects, each object with its own features, properties, and functions Opposite of OOP is Procedural programming, which is more simple on a small scale, but impossible to organize on a large scale!
4
Starting off with VB – some basic objects What is a form? –A container for objects What is a button? –An object that you click on What is a label? –An object that contains text
5
Properties of Objects Every object, whether a real one or an information one, has properties about it Some properties of a basketball: size, colour, indoor or outdoor, bounciness. Some properties in VB: –Caption –Name –Visibility –Font
6
Properties of Objects These are examples of some other objects in VB: –List boxes –Menus –Graphics –Timers –Combo Boxes –Radio buttons
7
Properties of Objects The properties of objects can be set by you, and even changed by the program imgSweetPic.Visible = False This will make the picture called imgSweetPic invisible Use the “dot notation” to set properties: –nameOfObject. property = value
8
Hello World Application Create a program that will display your greetings to any user that uses your program –Follow instructions in Review 2, pg 3-6 to 3-7 Read sections 3.9 to 3.16, doing reviews along the way. (Reviews 3,4,5 an 6)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.