Escolar Documentos
Profissional Documentos
Cultura Documentos
Engineering
Science and Systems Engineering
Technical English I
INDEX
Introduction
Objectives
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Properties window
Helpful tips
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Example
Chapter 10
Introduction
Over the past years technology has been increasing its presence in
many aspects of life: Jobs, Hobbies, Trips, etc. And technology has
needed and used some other resources to be created. Some of those
resources have been programming languages. They are some kind of
vocabulary and grammatical rules for instructing a computer to perform
tasks needed by the programmer.
This mini-handbook shows us how to easy can be to create a project. It is
also for the users to be familiarized with programming languages,
because even when every programming language has its own syntaxes,
rules, keywords all they use need to be developed in a similar way. In this
case, the IDE (Integrated Development Environment) will be of Visual
Basic. You will be able to learn specific things you need to know those
kinds of languages, about how fascinating they are and the most
important thing: How start programming.
You will find a short description of the tools and options Visual Basic
offers and some tips to take into consideration in order to start. This is for
beginners but you can be an expert once you start programming you will
be willing to continue and learn more and more.
Objectives
Every program created in Visual Basic has some kind of structure: The
modules are like chapter, the procedures are like paragraphs and the
lines are la phrases. But there is nothing to worry about. In a few steps
you will be able to speak the Visual Basics language.
Labels
How to start
1. Create a form
2.
Choose the object you want to draw from the Toolbox.
Exam
ple
Helpful tips
On the form the controls can be added and aligned
Example:
1.
Dim A As Integer = 1
Dim B As Integer = 2
MsgBox(CDbl(A / B)
*Dim: Dimension Its the variable used to declare (or "tell" Visual Basic)
that you are setting up a variable under that name.
To stop it:
1. Click the Red X at the top right of your Form
2. Click Debug > Stop Debugging from the menu bar
3. Press Shift + F5 on your keyboard
Click on the Button tool in the toolbox with the left hand mouse
button once.
Place the mouse to a blank area of the form - It will turn into a
cross
Press and hold the left mouse button.
With the button drag across the form and you can stop holding it
once you are happy with the size.
This method can be used to draw most of the controls. And once a
control is created it can be modify with the options of the properties
window.
In order to start working with a code it is just necessary to double click
on the control.
Example:
This is a program to find the highest digit of three numbers entered in
different boxes.
If (A > B) Then
If (A > C) Then
MsgBox ("The highest number
is: " & A)
Else
MsgBox ("The highest number
is: " & C)
End If
Else
If (B > C) Then
End If
End Sub
Private Sub Command1_Click()
Guia_1_1.Hide
Guia_1.Show
End Sub
Poor support
But they are something you can deal with and take advantage of this
Software.
Just remember that the most important thing while creating a code is
working clean, with certain names related with the part of the program
that is being defined. In order to dont have misunderstandings while
making bigger projects.
Now you can feel free to work with Visual Basic with this information. Go
ahead and give yourself the freedom to do what you want by using the
lots of options and tools available that Visual Basic offers.
Conclusions
Glossary
1. Boolean:
Computers of or relating to a data type having two possible values
representing true or false.
2. Caption:
a title or explanation for a picture or illustration, especially in amag
azine.
3. Command
4. To direct with specific authority or prerogative; order
5. Currency:
Something that is used as a medium of exchange; money.
6. Debug: to detect and remove errors from (a computer program).
7. Drag:
to draw with force, effort, or difficulty; pull heavily or slowly along;
haul; trail:
8. Fore color: Fore:
Situated at or toward the front, as compared with something else.
Fore color: Color situated in the front.
9. Layout: An arrangement or plan
10.
Multi-threaded: Interwoven or ornamented with threads.
11.
String:
any series of things arranged or connected in a line or following clo
sely one after another.
Annexes
Annex 1: Tools in the Visual Basic Toolbox
Ico
Tool Name
n
Pointer
Selects objects
Picture box
Label
Text box
Frame
Command
button
Check box
Combo box
List box
Horizontal scroll
bar
Vertical scroll
bar
Timer
Shape
Line
Draws a line
Image box
Data control
OLE
Annex 2: Abbreviations
Bibliography
http://mat21.etsii.upm.es/ayudainf/aprendainf/Visualbasic6/vbasic60.pdf
https://www.youtube.com/watch?v=7lpuICNVP4
http://www.vbtutor.net/vb2008book/vb2008me_preview.pdf
http://www.dummies.com/how-to/content/meeting-the-tools-in-the-visual-basictoolbox.html
https://msdn.microsoft.com/library/xk24xdbe%28v=vs.90%29.aspx
http://pemrograman-ilmiyah.blogspot.com/2011/02/visual-basic-60-session-2.html
http://www.homeandlearn.co.uk/NET/nets1p11.html
http://visualbasicmavd.blogspot.com/