• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/15

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

15 Cards in this Set

  • Front
  • Back
What are the 3 steps for planning & creating visual Basic project. Dec. ea. step
Design the user interface:    A storyboard of the program w/ pics of the screen that the user will use. You should name the forms and controls that you plan in this process.
Plan the properties:    Customize the look and feel of a VB program & write down your ideas and plans before typing the code into the computer. Your program will not have a commercial and professional appearance, otherwise.
Plan the code:    Write out pseudocode that explains the procedural tasks that must be accomplished within your program before typing or even writing out actual Basic code. Pseudocode is English phrases that roughly explains how you plan to do things within your program. Do not use Basic keywords or perfect syntax during this planning phase.
When is Visual Basic in design time? Run Time? Debug time?
Design time rare when you are in the user inter-face & writing code, you are in design time
RunTime is when you are testing the project.
Debug Time is when you get a run-time error or pause the program execution
What is the purpose of these visual basics file types: .sln, .suo & .vb?
.sln Organizes projects, project items and solution items into the solution by providing the environment with references to their locations on disk.

.suo Records all of the options that you might associate with your solution so that each time you open it, it includes customizations that you have made.

.vb A file for storing groups of functions.
What is the purpose of the Name property of a control?
The Name property is used to refer to the control in your Basic code. All names should be meaningful, indicating the purpose of the control.
Which property determines what appears on the form for a label control?
The Caption property of a label determines what will be displayed on the form.
hat property must be set to center text in a label? What should be the value of the property?
value of the property should be “2–Center.
What does cmdPush_Click mean? To what does cmdPush refer? To what does Click refer?
cmdPush_Click” is the name of an event procedure. The name consists of the object name, cmdPush, an underscore ( _ ), and the name of the event, Click. “cmdPush_Click” would be the event that occurs when a user presses the left mouse button while pointing to the command button named cmdPush.
What is a run-time error, when does it occur, and what might cause it?
If your project halts during execution, that’s a run-time error. Visual Basic displays a dialog box, goes into break time, and highlights the statement causing the problem. Run-time errors are caused by statements that cannot execute correctly. The statements are correctly formed Basic statements that pass the syntax checking of the compiler; however, the statements fail to execute. Run-time errors can be caused by such problems as attempting to do impossible arithmetic operations such calculations with non-numeric data, division by zero, or attempting to calculate the square root of a negative number.
What is a Visual Basic event? Give some examples of events.
While your project is running, the user can do many things, such as move the mouse around, click on a command button, move, resize, or close your form's window, jump to another application, and so on. Each action by the user causes an event to occur in your Visual Basic project. Some of the events you care about (like clicking on a command button), and some events you don't care about (like moving the mouse and resizing the window). If you write Basic code for a particular event, then Visual Basic will respond to the event and automatically execute your procedure. Any events you don't write procedures for are ignored.
What are objects and properties? How are they related to each other?
Objects: Think of an object as a thing, or a noun. Examples of objects are forms and controls. Forms are the windows and dialog boxes you place on the screen; controls are the elements you place inside a form, such as text boxes, command buttons, and list boxes.
Properties: Properties tell something about an object, such as its name, color, size, location, or how it will behave. You can think of properties as adjectives that describe objects. When you refer to a property, you first name the object, then a period, then name the property. For example, refer to the Caption property of a form called Form1 as Form1.Caption (say “form1 dot caption”). Every object will have it’s own set of properties.
What is a syntax error, when does it occur & what might cause it?
A syntax error is: A syntax error is a type of programming error, or "bug", that can occur when a programmer accidentally misuses an element of a programming language.


Syntax errors occur when a programmer has made a typo which means that the computer can't understand what the programmer has written. Syntax errors may occur from a punctuation mistake in a written sentence.
What does Debug mean on the computer?
In layman terms, the program had an error in the code it ran, and it is prompting you to ask if you to fix the error
Tell the class of the control and the likely purpose of each of these object names:

AddressLable
Exit Button
TextBlueRadioButton
AddressLable- class Label- Display an Address

Exit Button- Command button- End a project

TextBlueRadioButton- Option button- Change text to blue
What does context-sensitive Help mean? How can you use it to see Help page for a button?
Context-sensitive Help automatically jumps to the Help topic relating to what you are working on at the moment. For context-sensitive Help, select any object on the screen and press F1; VB automatically displays the relevant Help page.
What is the purpose of the Text property of a button? The Text property of a form?
Text property is the text it self

Text property of a form is the picture or box that holds the text