MELJUN CORTES Visual Basic 2010 very good lecture
Upcoming SlideShare
Loading in...5
×
 

MELJUN CORTES Visual Basic 2010 very good lecture

on

  • 404 views

MELJUN CORTES Visual Basic 2010 very good lecture

MELJUN CORTES Visual Basic 2010 very good lecture

Statistics

Views

Total Views
404
Views on SlideShare
404
Embed Views
0

Actions

Likes
0
Downloads
15
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MELJUN CORTES Visual Basic 2010 very good lecture MELJUN CORTES Visual Basic 2010 very good lecture Presentation Transcript

    • MELJUN CORTES MELJUN CORTES
    • Visual Basic Visual Basic (VB) is a third- generation event-driven programming language. It is also an integrated development environment (IDE) from Microsoft for its COM programming model. MELJUN CORTES
    • Visual Basic Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using Data Access Objects, Remote Data Objects, or ActiveX Data Objects, and creation of ActiveX controls and objects. MELJUN CORTES
    • Visual Basic Scripting languages such as Visual Basic for Applications (VBA) and VBScript are syntactically similar to Visual Basic, but perform differently. MELJUN CORTES
    • Visual Basic In 1988, Alan Cooper created a visual programming language (code-named “Ruby”) that allowed Windows users to build “Finder”-like shells. He called it “a shell construction set.” After demonstrating Ruby to Bill Gates, Microsoft purchased it. MELJUN CORTES
    • Visual Basic Visual Basic, user experience, interaction design, personas, Goal-Directed design, About Face, The Inmates Are Running The Asylum, VBX. MELJUN CORTES
    • Visual Basic At the time, Gates commented that the innovation would have a “profound effect” on their entire product line. Microsoft decided not to release the product as a shell for users, but rather to transform it into a professional development tool by marrying it to their QuickBASIC programming language. They called the product Visual Basic. MELJUN CORTES
    • MELJUN CORTES
    • Visual Basic.NET Visual Basic .NET is an object-oriented computer programming language that can be viewed as an evolution of the classic Visual Basic (VB) which is implemented on the .NET Framework. MELJUN CORTES
    • Visual Basic.NET VB.Net is also a Microsoft Common Language Infrastructure language created by Microsoft. Visual Basic .NET was designed, as part of the company's .NET product group, to make Web services applications easier to develop. MELJUN CORTES
    • Visual Basic.NET According to Microsoft, VB .NET was reengineered, rather than released as VB 6.0 with added features, to facilitate making fundamental changes to the language. MELJUN CORTES
    • Visual Basic.NET VB.NET is the first fully object-oriented programming (OOP) version of Visual Basic, and as such, supports OOP concepts such as abstraction, inheritance, polymorphism. MELJUN CORTES
    • MELJUN CORTES
    • Visual Basic 1.0 Visual Basic 1.0 was introduced in 1991. Visual Basic 1.0 (Windows) was released 1991 of May. Visual Basic 1.0 (DOS) was released in September 1992. The interface used a Text user interface, using extended ASCII characters to simulate the appearance of a GUI. MELJUN CORTES
    • Visual Basic 1.0 MELJUN CORTES
    • Visual Basic 2.0 Visual Basic 2.0 was release in November 1992. The programming environment was easier to user, and its speed was improved. Notably, forms became instant objects. MELJUN CORTES
    • Visual Basic 3.0 Visual Basic 3.0 was release in the summer of 1993 and came in Standard and Professional versions. VB3 included version 1.1 of the Microsoft Jet Database Engine that could read and write Jet (or Access) 1.x databases. MELJUN CORTES
    • Visual Basic 4.0 Visual Basic 4.0 was released in August 1995. VB 4.0 was the first version that could create 32-bit as well as 16-bit Windows programs. It also introduced the ability to write non-GUI classes in Visual Basic. MELJUN CORTES
    • Visual Basic 5.0 Visual Basic 5.0 (February 1997), Microsoft released Visual Basic exclusively for 32-bit versions of Windows. It also introduced the ability to create custom user controls, as well as the ability to compile to native Windows executable code, speeding up calculation-intensive code execution. MELJUN CORTES
    • Visual Basic 5.0 It was also used as an introductory form of Visual Basic: a regular .exe project could be created and run in the IDE, but not compiled. MELJUN CORTES
    • Visual Basic 6.0 Visual Basic 6.0 (Mid 1998) improved in number of areas including the ability to create web-based applications. MELJUN CORTES
    • Visual Basic 6.0 MELJUN CORTES
    • Visual Basic 7 Visual Basic 7 sometimes referred to as VB7 or Visual Basic.Net, was released in February 2002. This product was conceived as a part of Microsoft.NET software initiative, designed to produce XML-based applications for the Microsoft Internet environment. MELJUN CORTES
    • Visual Basic 7 (1.1) Visual Basic .NET 2003 was released with version 1.1 of the .NET Framework. New features included support for the .NET Compact Framework and a better VB upgrade wizard. Improvements were also made to the performance and reliability of the .NET IDE (particularly the background compiler) and runtime. MELJUN CORTES
    • Visual Basic 7 (1.1)  In addition, Visual Basic .NET 2003 was available in the Visual Studio.NET Academic Edition (VS03AE). VS03AE is distributed to a certain number of scholars from each country without cost. MELJUN CORTES
    • Visual Basic 7.0 MELJUN CORTES
    • Visual Basic 8.0 On November 2005, Microsoft released Visual Studio 2005, which included Visual Basic 8 and the .Net Framework version 2. Visual Basic 2005 is the name used to refer to the Visual Basic .NET, Microsoft having decided to drop the .NET portion of the title. MELJUN CORTES
    • Visual Basic 8.0 MELJUN CORTES
    • Visual Basic 8.0 For this release, Microsoft added many features, including: Edit and Continue The My pseudo-namespace, which provides: easy access to certain areas of the .NET Framework that otherwise require significant code to access  dynamically-generated classes (notably My.Forms)  Improvements to the VB-to-VB.NET converter The above functions (particularly My) are intended to reinforce Visual Basic .NET's focus as a rapid application development platform and further differentiate it from C#. MELJUN CORTES
    • Visual Basic 9.0 Visual Basic 9.0 was released together with the Microsoft .NET Framework 3.5 on 19 November 2007. For this release, Microsoft added many features, including:  A true conditional operator, "IIf(condition as boolean, truepart, falsepart)", to replace the "IIf" function.  Anonymous types  Support for LINQ  Lambda expressions  XML Literals  Type Inference  Extension methods MELJUN CORTES
    • MELJUN CORTES
    • Changes in VB Language All data are objects, based on the class: System.Object. E.g. class supports Windows forms: System.Windows.Forms.Form. The built-in VB functionality is encapsulated in a namespace called System. E.g Collection has be replaced by System.Collections. Old control are gone, and new ones have appeared. MELJUN CORTES
    • Changes in VB Language Many keywords are renamed or gone, while some new added. E.g. Gosub removed Strict data typing is now enforced Variable must be declared before used by default. Cannot assign one data type to another, but can use Ctype to convert between types. The same as in VC++ and C#. Structured exception handling: Try…Catch…Finally. MELJUN CORTES
    • Changes in VB Languages When calling procedures, must use parentheses. Parameters are by default passed by value, instead of by reference. Supports constructors and destructors for use when initializing an object of a class. If…Then statements are now short-circuited. MELJUN CORTES
    • Changes in VB Language A number of new compound operators E.g. x+=2 The And, Or, Not and Xor operators have changed from bitwise to boolean operators. Meanwhile, the bitwise versions are BitAnd, BitOr, BitNot, and BitXor. No default property supported E.g. VB6: TextBox1=“Hello” VB.Net: TextBox1.Text=“Hello” MELJUN CORTES
    • Changes in VB Language Three new data types VB 6.0 Integer Type VB.NET Char: unsigned 16-bit Short: signed 16-bit 8 bit Byte Byte 16 bit Integer Short 32 bit Long Integer 64 bit Not Applicable Long Decimal: signed 96-bit (replaces Variant) MELJUN CORTES
    • MELJUN CORTES
    • Comments 'Single line only REM Single line only ''' <summary>XML comments</summary> ex. If messageBox = “Hello” Then This is a comment End If MELJUN CORTES
    • Class Declaration Public Class className … End Class ex. Public Class Employee … End Class MELJUN CORTES
    • Declaration of Variable Dim variableName As dataType ex. Dim messageContent As String Dim myNumber As Integer MELJUN CORTES
    • Conditional Statements If condition Then statement Else If condition2 Then statement2 Else statement3 End If ex. If messageContent = “Hello World” Then MessageBox.Show(“Hello World”) Else if messageContent = “Hello” Then MessageBox.Show(“Hello”) Else MessageBox.Show(“Hello World Hello”) End If MELJUN CORTES
    • Looping Statements Do While Do While condition statement Loop ex. Do While myNumber > 20 MessageBox.Show(myNumber) myNumber = myNumber + 1 Loop MELJUN CORTES
    • Looping Statements For For condition Statement Next ex. For myNumber = 10 To 20 MessageBox.Show(myNumber) Next MELJUN CORTES
    • Looping Statements Do Until Do Until condition statement Loop ex. Do Until myNumber = 20 MessageBox.Show(myNumber) myNumber = myNumber + 1 Loop MELJUN CORTES
    • Logical Operators AndAlso   OrElse   And   Or   Xor   Not ex. If myNumber = 10 And messageContent = “Hello World” Then … End If MELJUN CORTES