140 likes | 594 Views
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
E N D
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 • Version 6.0 enhanced the ability to make web based programs • Version 9.0 (What we are running)
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
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.
Design Process • Create the project • Design the user interface (controls) • Write the code (create events) • Test the code • Distribute the application
How to Get Around • Integrated Development Environment (IDE) • Design Mode:
How to Get Around • Code View:
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.