Visual Basic 2010 Basics
24 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

An individual can get both text in the box or he can click the downwards ______ on the appropriate side.

arrow

Checkboxes resemble radio switches in that they are used in groups, but a user can choose more than one ______ in the group.

item

To change the form’s title, click in the box on the right of the ______ property.

Text

In the properties window, the items listed in the left column represent the names of various ______ associated with the selected object.

<p>properties</p> Signup and view all the answers

You may also alter other properties of the form such as font, location, size, foreground color, background color, ______, and MinimizeBox.

<p>MaximizeBox</p> Signup and view all the answers

Properties can be set by highlighting the items in the right column then change them by typing or selecting the available ______.

<p>options</p> Signup and view all the answers

You can also change the properties of the object at ______ to give special effects.

<p>runtime</p> Signup and view all the answers

Remember the maximum number for each color is ______ and the minimum number is 0.

<p>255</p> Signup and view all the answers

Controls in Visual Basic 2010 are tools that can be placed in the form to perform various ______.

<p>tasks</p> Signup and view all the answers

Some of the most used common controls are Button, Label, ______, ListBox, PictureBox, TextBox and more.

<p>ComboBox</p> Signup and view all the answers

To insert a control into your form, you just need to ______ the control from the tool box and drop it into the form.

<p>drag</p> Signup and view all the answers

When you click on the Toolbox tab, the common controls ______ will appear.

<p>Toolbox</p> Signup and view all the answers

The user can include strings, numerical values, and a mix of those in a ______.

<p>TextBox</p> Signup and view all the answers

The ______ control is utilized to display a list of items in the application.

<p>ListBox</p> Signup and view all the answers

Visual Basic 2010 is a full fledged ______ Programming Language.

<p>Object-Oriented</p> Signup and view all the answers

One label is to display the addition operator and the other label is to display the ______ sign.

<p>equal</p> Signup and view all the answers

The Integrated Development Environment when you launch VB2010 Express is known as ______.

<p>IDE</p> Signup and view all the answers

The last label is to display the ______.

<p>answer</p> Signup and view all the answers

To create your first application in VB2010, you need to click on ______.

<p>New Project</p> Signup and view all the answers

You can change the default project name to something like ______.

<p>myFirstProgram</p> Signup and view all the answers

After dragging the button control into the form, change its default Text from Button1 to ______.

<p>OK</p> Signup and view all the answers

When you run the program and click on the OK button, a dialog box will display the message '______'.

<p>WELCOME TO VISUAL BASIC 2010</p> Signup and view all the answers

The ______ section shows a list of projects that have been created recently.

<p>Recent Projects</p> Signup and view all the answers

The Toolbox will appear when you click on the ______ tab.

<p>Toolbox</p> Signup and view all the answers

Study Notes

Visual Basic 2010 Basics

  • Visual Basic 2010 is a full object-oriented programming (OOP) language, developed by Microsoft in 2010.
  • It's comparable to other OOP languages like C++, Java, and C#.
  • A free Express Edition is available for download from the Microsoft website.
  • The Integrated Development Environment (IDE) has several sections:
    • New Project/Open Project: for creating or opening projects
    • Recent Projects: listing recently created projects
    • Getting Started: offering helpful tips for application development
    • Latest News: updates and new releases about Visual Basic 2010 Express
    • Properties: to define properties of individual controls

Creating a New Project

  • To start a new application, click "New Project".
  • A dialog box will open with various project types, including "Windows Forms Application".
  • The default project name is "Windows Application1" but can be changed.
  • Clicking "OK" leads to a new development environment window with an empty form, a toolbox, and property settings.
  • The toolbox is not initially visible, it must be selected.

Adding and Configuring Controls (e.g., Button)

  • Controls are added to the form by dragging them from the toolbox.
  • Controls can be resized and repositioned.
  • The properties of controls can be altered (e.g., a button’s text).
  • Changing a button's text in the "properties" window will display the change on the form.

Coding an Event Handler (e.g., Button Click)

  • Clicking a button in the IDE can open a corresponding code window.
  • Add an event handler to respond to the button's click:
    • An example is provided using a message box to say "Welcome to Visual Basic 2010".
  • The code includes the "Public Class Form1" and "End Class" statements surrounding the code and a "Handles" clause linking the code to the event

Controls Overview

  • Visual Basic 2010 has various controls categorized as "Common Controls" (Button, Label, ComboBox, ListBox, PictureBox, TextBox) and other categories.
  • Controls are used to create various Windows applications.

Running the Application

  • Running the program allows the user to interact with the implemented controls and functions.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

VB.NET Basics PDF

Description

This quiz covers the fundamentals of Visual Basic 2010, an object-oriented programming language developed by Microsoft. Participants will explore the Integrated Development Environment (IDE) features, project creation, and the different types of projects available. Test your knowledge of essential functions and structure in Visual Basic.

More Like This

Visual Basic Project Files
10 questions
Visual Basic Programming Overview
12 questions
Visual Basic Programming
40 questions

Visual Basic Programming

WellRoundedKremlin avatar
WellRoundedKremlin
Use Quizgecko on...
Browser
Browser