1. Introduction to the Visual Basic Language and Environment
Preview • In this first class, we will do a quick overview of how to build an application in Visual Basic. You’ll learn a new vocabulary, a new approach to programming, and ways to move around in the Visual Basic environment. You will leave having written your first Visual Basic program.
Course Objectives ⇒ Understand the benefits of using Microsoft Visual Basic 6.0 for Windows as an application tool ⇒ Understand the Visual Basic event-driven programming concepts, terminology, and available tools ⇒ Learn the fundamentals of designing, implementing, and distributing a Visual Basic application ⇒ Learn to use the Visual Basic toolbox ⇒ Learn to modify object properties ⇒ Learn object methods ⇒ Use the menu design window ⇒ Understand proper debugging and error-handling procedures ⇒ Gain a basic understanding of database access and management using databound controls ⇒ Obtain an introduction to ActiveX controls and the Windows Application Programming Interface (API) What is Visual Basic? • • Visual Basic is a tool that allows you to develop Windows (Graphic User Interface - GUI) applications. The applications have a familiar appearance to the user. Visual Basic is event-driven, meaning code remains idle until called upon to respond to some event (button pressing, menu selection, ...). Visual Basic is governed by an event processor. Nothing happens until an event is detected. Once an event is detected, the code corresponding to that event (event procedure) is executed. Program control is then returned to the event processor.
Event processor Basic Code Event Procedures
Basic Code • Some Features of Visual Basic ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒
Full set of objects - you 'draw' the application Lots of icons and pictures for your use Response to mouse and keyboard actions Clipboard and printer access Full array of mathematical, string handling, and graphics... [continues]
Cite This Essay
(2010, 12). Visual Basic 6.0. StudyMode.com. Retrieved 12, 2010, from http://www.studymode.com/essays/Visual-Basic-6-0-510121.html
"Visual Basic 6.0" StudyMode.com. 12 2010. 12 2010 <http://www.studymode.com/essays/Visual-Basic-6-0-510121.html>.
"Visual Basic 6.0." StudyMode.com. 12, 2010. Accessed 12, 2010. http://www.studymode.com/essays/Visual-Basic-6-0-510121.html.