This Season
 

Visual Basic Tutorial

Visual Basic was created by Microsoft to make it easier to write programs for the Windows computer operating system. Visual Basic allows you to move visual elements and design applications by pointing, dragging and clicking with your mouse and only writing additional lines of code for more functionality. This is why it's called "Visual" Basic.

Related Searches:
    1. The Visual Basic Environment

      • Visual Basic is a combination of visually arranging controls on a form that identify attributes and actions of those components and consist of many windows that fasten your programs together. There are six common windows displayed on start-up that make up the Visual Basic environment every programmer should be familiar with:

        Project Window
        The Project window holds your application's forms, controls, code and all related elements. All files you create will default into this window.

        Properties Window
        The Properties window is the behavior of a control, form or other Visual Basic element. If you want to customize the look or behavior of a control, change that control's size or font.

        Form Window
        The Form window is where you do most of your work and the background where you place all of your program's controls, text and data-entry boxes.

        Toolbox
        When you want a specific tool, you'll select one from the Toolbox. The four basic tools from the Toolbox are the Pointer, Label, Command Button and Text Box.

        Menu Bar
        Many of the Visual Basic menu options are just like the ones used in other Windows programs. The Menu commands are File, Edit, View, Run, Debug, Options, Window and Help.

        Toolbar
        The Toolbar, located below the Menu bar, offers shortcuts. The Toolbar provides many menu commands such as "Open existing project," "Save current project" and "Create new form."

      Visual Basic Code

      • A program can be created with Visual Basic without the programmer having to write many lines of code or instructions. For example, you may want to change your Form's background color when the user clicks the Command Button. To do so, double-click the Command Button to open the code window. Type the following line between the Sub and the End Sub statements:

        Sub Command1_Click()
        Form1.BackColor = QBColor()
        End Sub

        The first line of every subroutine, set of instructions, is Sub SubName, and the last line is always End Sub. The parentheses indicates a function or return value.

        Visual Basic is an event driven programming language. Anything your user does, such as clicking a button or pressing a key, the application will always respond to those events.

    Related Searches

    References

    Read Next:

    Comments

    You May Also Like

    • How to Make Voice Command Programs in Visual Basic

      Twenty-first century computer technology allows users to talk to their computers. Speech recognition software converts human speech into digital data that computers...

    • Kinds of Line Drawing in Visual Basic

      The PaintEventArgs class permits you to draw lines with defined end points, allowing you to create shapes beyond simple squares and rectangles...

    • Tutorial of Visual Basic 6

      Microsoft Visual Basic 6.0 is a development environment that you can use to create applications involving extensive user interaction. In terms of...

    • VB Excel Tutorial

      Visual Basic (VB) is an optional component for developing a spreadsheet in Microsoft Excel. The program includes a built-in VB compiler to...

    • Introduction to Visual Basic 6.0

      Visual Basic is an event-driven programming language, which means that when a user performs an "event," such as typing or clicking a...

    • Visual Basic for Access Tutorial

      Visual Basic is used to help create more advanced Microsoft Access databases. Visual Basic code can be added to objects to perform...

    • Microsoft Visual Basic Tutorial

      With Visual Basic, you can create applications for the Web, the desktop and handheld computers. Visual Basic's IDE (integrated development environment) provides...

    • MS Access Visual Basic Tutorials

      Add Visual Basic code to individual objects through the object's properties. Right-click any object on a form or report, such as a...

    • Visual Basic Database Tutorial

      When programming in Visual Basic (VB), it's important to understand how to connect and query a database server. Database servers are the...

    • How to Write Programs in Visual Basic

      From its humble beginnings as BASIC (a teaching language at Dartmouth University), Visual Basic (VB) became one of the most popular and...

    • Visual Basic Application Tutorial

      Visual Basic applications range from hand-held games and stand alone desktop applications or they can involve Internet and database usage capabilities. Getting...

    • Microsoft Word/Visual Basic Tutorial

      The Visual Basic programming language is Microsoft's version of the classic programming language "Basic." Microsoft also added the functionality of the Visual...

    • Visual Basic: Beginner Tutorial

      Visual Basic is a programming language developed and owned by Microsoft. The language creates applications from small games in hand-held devices to...

    • The Strengths & Weaknesses of Visual Basic Language

      The Strengths & Weaknesses of Visual Basic Language. Microsoft's development strategy, from MS DOS in the 1980s and continuing on into the...

    • How to Change the Command Button Color in a Visual Basic 6.0

      Part of creating Visual Basic applications is designing buttons that make it easy for users to navigate through the application and provide...

    • Skateboard Tricks Tutorial

      Skateboarding is an enjoyable activity--but it takes determination and practice. No matter how long you’ve been skating, there is always another trick...

    • What Are the Mobile Applications for Visual Basic?

      Windows Phone 7 applications can be developed using the Microsoft Visual Basic computer programming language. Visual Basic is widely used to create...

    • Visual Basic Math Functions Tutorial

      Visual Basic math functions are statements written in the Visual Basic computer programming language. These enable programmers to specify various basic math...

    • Visual Basic 6.0 Database Tutorial

      Database programming using Visual Basic 6.0 relies on the ADO (ActiveX Data Objects) Object Model architecture. This is a less complicated architecture...

    Follow eHow

    Related Ads