meljun cortes with name picture
TRANSCRIPT
-
8/9/2019 MELJUN CORTES With Name Picture
1/45
MELJUN CORTESMELJUN CORTESMELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
2/45
Visual BasicVisual Basic (VB) is a
third-generationeent-drien!rogra""inglanguage# $t is also anintegrateddeelo!"ent
eniron"ent ($%E)&ro" Microso&t &or itsCOM !rogra""ing"odel#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
3/45
Visual BasicVisual Basic 'as deried
&ro" BS$C and enalesthe ra!id a!!lication
deelo!"ent (R%) o&gra!hical user inter&ace(*U$) a!!lications+ accessto dataases using %ataccess O,ects+ Re"ote
%ata O,ects+ or ctie%ata O,ects+ andcreation o& ctiecontrols and o,ects#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
4/45
Visual BasicScri!ting
languages such
as Visual Basic
&or !!lications(VB) and
VBScri!t are
s.ntacticall.
si"ilar toVisual Basic+ut !er&or"
di/erentl.#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
5/45
Visual Basic$n 0122+ lan Coo!er
created a isual!rogra""ing language
(code-na"ed 3Ru.4)that allo'ed 5indo'susers to uild 36inder4-li7e shells# 8e called it3a shell constructionset#4 &terde"onstrating Ru. toBill *ates+ Microso&t!urchased it#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
6/45
Visual BasicVisual Basic+ user
e9!erience+interaction design+!ersonas+ *oal-%irected design+
About Face+ TheInmates Are RunningThe Asylum+ VB#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
7/45
Visual Basict the ti"e+ *ates co""ented that the
innoation 'ould hae a 3!ro&ound e/ect4 ontheir entire !roduct line# Microso&t decided notto release the !roduct as a shell &or users+ utrather to trans&or" it into a !ro&essionaldeelo!"ent tool . "arr.ing it to their:uic7BS$C !rogra""ing language# The.called the !roduct Visual Basic#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
8/45MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
9/45
-
8/9/2019 MELJUN CORTES With Name Picture
10/45
Visual Basic.NETVB#Net is also a Microso&t Co""on Language
$n&rastructure language created . Microso&t#
Visual Basic #NET 'as designed+ as !art o& theco"!an.;s #NET !roduct grou!+ to "a7e 5eserices a!!lications easier to deelo!#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
11/45
-
8/9/2019 MELJUN CORTES With Name Picture
12/45
Visual Basic.NETVB#NET is the ?rst &ull. o,ect-oriented
!rogra""ing (OO@) ersion o& Visual Basic+and as such+ su!!orts OO@ conce!ts suchas astraction+ inheritance+ !ol."or!his"#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
13/45
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
14/45
-
8/9/2019 MELJUN CORTES With Name Picture
15/45
Visual Basic 1.0
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
16/45
Visual Basic 2.0Visual Basic A#> 'as release in Noe"er
011A#
The !rogra""ing eniron"ent 'as easier touser+ and its s!eed 'as i"!roed#
Notal.+ &or"s eca"e instant o,ects#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
17/45
Visual Basic 3.0Visual Basic #> 'as release in the su""er o&
011 and ca"e in Standard and @ro&essionalersions#
VB included ersion 0#0 o& the Microso&t Jet%ataase Engine that could read and 'rite Jet(or ccess) 0#9 dataases#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
18/45
Visual Basic 4.0Visual Basic #> 'as released in ugust 011D#
VB #> 'as the ?rst ersion that could create
A-it as 'ell as 0=-it 5indo's !rogra"s#$t also introduced the ailit. to 'rite non-*U$
classes in Visual Basic#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
19/45
Visual Basic 5.0Visual Basic D#> (6eruar. 011)+ Microso&t
released Visual Basic e9clusiel. &or A-itersions o& 5indo's#
$t also introduced the ailit. to create custo"user controls+ as 'ell as the ailit. to co"!ileto natie 5indo's e9ecutale code+ s!eeding
u! calculation-intensie code e9ecution#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
20/45
Visual Basic 5.0$t 'as also used as an introductor. &or" o&
Visual BasicF a regular #e9e !ro,ect could ecreated and run in the $%E+ ut not co"!iled#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
21/45
Visual Basic 6.0Visual Basic =#> (Mid 0112) i"!roed in
nu"er o& areas including the ailit. to create'e-ased a!!lications#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
22/45
Visual Basic 6.0
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
23/45
-
8/9/2019 MELJUN CORTES With Name Picture
24/45
-
8/9/2019 MELJUN CORTES With Name Picture
25/45
Visual Basic 7 (1.1) $n addition+ Visual Basic #NET A>> 'as
aailale in the Visual Studio.NET AcademicEdition (VS>E)# VS>E is distriuted to acertain nu"er o& scholars &ro" each countr.'ithout cost#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
26/45
Visual Basic 7.0
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
27/45
Visual Basic 8.0On Noe"er A>>D+ Microso&t released Visual
Studio A>>D+ 'hich included Visual Basic 2and the #Net 6ra"e'or7 ersion A#
Visual Basic A>>D is the na"e used to re&er tothe Visual Basic #NET+ Microso&t haingdecided to dro! the #NET !ortion o& the title#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
28/45
Visual Basic 8.0
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
29/45
Visual Basic 8.06or this release+ Microso&t added "an. &eatures+
includingF
Edit and Continue
The y !seudo-na"es!ace+ 'hich !roidesF eas. access to certain areas o& the #NET 6ra"e'or7 that
other'ise reHuire signi?cant code to access
d.na"icall.-generated classes (notal. y.Forms)
$"!roe"ents to the VB-to-VB#NET conerter The aoe &unctions (!articularl. y ) are intended to
rein&orce Visual Basic #NET;s &ocus as a ra!ida!!lication deelo!"ent !lat&or" and &urtherdi/erentiate it &ro" CI#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
30/45
Visual Basic 9.0Visual Basic 1#> 'as released together 'ith the
Microso&t #NET 6ra"e'or7 #D on 01 Noe"er A>>#
6or this release+ Microso&t added "an. &eatures+
includingF true conditional o!erator+ $$&(condition as oolean+
true!art+ &alse!art)+ to re!lace the $$& &unction#non."ous t.!esSu!!ort &or L$N:
La"da e9!ressionsML Literals T.!e $n&erenceE9tension "ethods
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
31/45
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
32/45
Changes in VB Languagell data are o,ects+ ased on the classF
System.Object #E#g# class su!!orts 5indo's &or"sF
System.Windows.Forms.Form#
The uilt-in VB &unctionalit. is enca!sulatedin a na"es!ace called System#E#g Collection has e re!laced .
System.Collections#
Old control are gone+ and ne' ones haea!!eared#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
33/45
Changes in VB LanguageMan. 7e.'ords are rena"ed or gone+ 'hile
so"e ne' added#E#g# Gosub re"oed
Strict data t.!ing is no' en&orcedVariale "ust e declared e&ore used . de&ault#Cannot assign one data t.!e to another+ ut can
use Ctype to conert et'een t.!es#
The sa"e as in VCKK and CI#Structured e9ce!tion handlingF Try…
Catch…Finally #
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
34/45
Changes in VB Languages5hen calling !rocedures+ "ust use
!arentheses#
@ara"eters are . de&ault !assed . alue+instead o& . re&erence#
Su!!orts constructors and destructors &or use'hen initialiGing an o,ect o& a class#
If…Then state"ents are no' short-circuited#
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
35/45
Changes in VB Language nu"er o& ne' co"!ound o!eratorsE#g# 9KA
The And + Or + !ot and "or o!erators haechanged &ro" it'ise to ooleano!erators# Mean'hile+ the it'ise ersionsare #itAnd + #itOr + #it!ot + and #it"or #
No de&ault !ro!ert. su!!ortedE#g# VB=F Te9tBo9038ello4 VB#NetF Te9tBo90#Te9t38ello4
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
36/45
Changes in VB Language Three ne' data
t.!es
Char F unsigned 0=-
it
Short F signed 0=-it
$ecimal F signed1=-it (re!laces%ariant )
Integer Type VB 6.0 VB.NET
8 bit Byte Byte
16 bit Integer Short
32 bit Long Integer
64 bit Not Applicable Long
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
37/45
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
38/45
Comments!Single line only
&'( Single line only
!!! #summary$%& comments#'summary$e9#
$& "essageBo9 38ello4 Then
This is a co""ent
End $&
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
39/45
Class DeclarationPublic Class classNa"e
End Classe9#
Public Class E"!lo.ee
End Class
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
40/45
Declaration of VariableDim arialeNa"e As dataT.!e
e9#
%i" "essageContent s String%i" ".Nu"er s $nteger
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
41/45
Conditional StatementsIf condition Thenstate"ent
Else If conditionA Thenstate"entA
Elsestate"ent
End If e9#
If "essageContent 38ello 5orld4 ThenMessageBo9#Sho'(38ello 5orld4)
Else if "essageContent 38ello4 ThenMessageBo9#Sho'(38ello4)
ElseMessageBo9#Sho'(38ello 5orld 8ello4)
End If
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
42/45
Looping Statements%o 5hile
Do While condition
state"entLoop
e9#
Do While ".Nu"er A>
MessageBo9#Sho'(".Nu"er)
".Nu"er ".Nu"er K 0
Loop
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
43/45
Looping Statements6or
For condition
State"entNext
e9#
For ".Nu"er 0> To A>
MessageBo9#Sho'(".Nu"er)
Next
MELJUN CORTES
-
8/9/2019 MELJUN CORTES With Name Picture
44/45
-
8/9/2019 MELJUN CORTES With Name Picture
45/45
Logical OperatorsAndAlso !rElse And !r "or Not
e9#
$& ".Nu"er 0> And "essageContent 38ello5orld4 Then
#
End $&