8
ADVANCED PROGRAMMING Visual Basic

ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

Embed Size (px)

Citation preview

Page 1: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

ADVANCED PROGRAMMING

Visual Basic

Page 2: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

History of Visual Basic

Originated from BASIC – designed to be user friendly.

Visual Basic 1.0 released for Windows in 1991

Version 4.0 was the first to create 16 bit and 32 bit programs

Version 5.0 went exclusively 32 bitVersion 6.0 enhanced the ability to make web

based programsVersion 9.0 (What we are running)

Page 3: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

Languages based on VB

Visual Basic Applications (VBA) – used for many office applications

VB Script – Is  the default language for Active Server Pages. Although it resembles VB in syntax, it is a separate language and it is executed by vbscript.dll as opposed to the VB runtime.

Visual Basic . NET - .NET has been dropped. More powerful than the original Better incorporates modern object oriented

programming

Page 4: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

Object Oriented Programming

Objects are a way of organizing your program.

Objects give your code structure; they are like the chapters and sections of your book.

Message is sent to an object telling it to do something.

Page 5: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

Design Process

Create the projectDesign the user interface (controls)Write the code (create events)Test the codeDistribute the application

Page 6: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

How to Get Around

Integrated Development Environment (IDE)Design Mode:

Page 7: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

How to Get Around

Code View:

Page 8: ADVANCED PROGRAMMING Visual Basic. History of Visual Basic Originated from BASIC – designed to be user friendly. Visual Basic 1.0 released for Windows

Controls

Things like buttons, textboxes, and labels are all things that you can add to your Forms. They are know as Controls, and are kept in the Toolbox for ease of use.