8
ADVANCED PROGRAMMING Visual Basic

Visual Basic

  • Upload
    haracha

  • View
    43

  • Download
    1

Embed Size (px)

DESCRIPTION

Visual Basic. Advanced Programming. 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 bit - PowerPoint PPT Presentation

Citation preview

Page 1: Visual Basic

ADVANCED PROGRAMMING

Visual Basic

Page 2: Visual Basic

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: Visual Basic

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: Visual Basic

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: Visual Basic

Design Process

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

Page 6: Visual Basic

How to Get Around

Integrated Development Environment (IDE)Design Mode:

Page 7: Visual Basic

How to Get Around

Code View:

Page 8: Visual Basic

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.