Michael Harper Jasen Michalski Mark Hudson

Slides:



Advertisements
Similar presentations
IT 325 OPERATING SYSTEM C programming language. Why use C instead of Java Intermediate-level language:  Low-level features like bit operations  High-level.
Advertisements

Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
CSE3030Lecture 11 Know Your User The First Slogan.
VB Code Statements 3 types of VB statement The Remark statement, known as comments, are used for project documentation only Begin with an apostrophe Not.
To type the VB code behind the command button (named cmdPush), Double-Click on the Push Me (caption) command button As a result the Visual Basic Code Window.
NameTitle Microsoft Corporation. For businesses with Visual Basic 6.0 assets, Visual Basic 2008 is the natural, most productive choice for Windows, Web,
Access VBA Programming for Beginners - Class 1 - by Patrick Lasu
Welcome to Transforming PowerPoint: Creating an Interactive Environment using VBA Log onto computer Open Internet Explorer URL -
Visual Basic  Rick, Albert. 1. Visual Basic 1.0 (May 1991) was released for Windows at the Comdex/Windows World trade show in Atlanta, Georgia
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Java: Chapter 1 Computer Systems Computer Programming II Aug
Introduction to VBA. What is VBA? VBA stands for Visual Basic for Applications. It is a programming language used exclusively by the Microsoft Office.
CSS Class 6 Make image into a button Create button with button element Group related form elements Control tab order Process form data.
Unit 20: Event Driven Programming
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
ASP.NET Dr. Ralph Westfall May, Web Development Problem HTML designed to display static pages only interactive when user clicks links  can’t provide.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
Eric Vogel Software Developer A.J. Boggs & Company.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
Session 1 - Introduction and Data Access Layer
Presented by Team D Compare Windows 2000, XP, and.NET By John Leonard, Brian North, Jeffrey Reynolds, Todd Saylor.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
Visual Basic Advanced Programming.
Java: Chapter 1 Computer Systems Computer Programming II.
1 Visual Basic for Applications (VBA) for Excel Prof. Yitzchak Rosenthal.
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
Let’s get started using Visual Basic!. Private Sub cmdGo_Click... Dim strMessage As String Dim sngSum As Single If IsNumeric(txtNumber1.Text) = False.
Integrated Development Environment (IDE)
Selected Topics in Software Engineering - Distributed Software Development.
CIS 451: ASP.NET Concepts Dr. Ralph D. Westfall January, 2009.
Visual Basic.NET By Khoa Nguyen. Outline History of VB Derivative Languages Sample programs Rank Evaluation.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
Applications Development
JDS – VB.NET Skill Session Fall 2004 Presented by YUHAO LIN.
MS Visual Basic 6 Walter Milner. VB 6 0 Introduction –background to VB, A hello World program 1 Core language 1 –Projects, data types, variables, forms,
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
1 Microsoft® Visual Basic®.NET Language # 2. 2 Flow-Control Statements If … End If Select Case … End Select For… Next Do … Loop Exit.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Using a Database Access97 Please use speaker notes for additional information!
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Michael Harper Jasen Michalski Mark Hudson. Problem Domain.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
Programming the Web Using ASP.Net
Automation Testing- QTP Rajesh Charles Batch No: Date: jan
.NET MCQs MULTIPLE CHOICE QUESTION
DotNetSpider Editor Hefin Dsouza
VBScript Session 1 IT Professional Academy.
Chapter No. : 1 Introduction to Java.
Introduction to Visual Basic 2008 Programming
MatLab Programming By Kishan Kathiriya.
PHP (PHP: Hypertext Preprocessor)
Microsoft .NET 3. Language Innovations Pan Wuming 2017.
Programming Language Concepts (CIS 635)
Tutorial C#.
Web Development in Microsoft Visual Studio 2013
VISUAL BASIC.
Starting JavaProgramming
Use of Mathematics using Technology (Maltlab)
CIS16 Application Development – Programming with Visual Basic
Coding Concepts (Basics)
Conditions and Boolean Expressions
Coding Concepts (Data- Types)
Introduction to Visual Basic and Object Oriented Programming
Presentation transcript:

Michael Harper Jasen Michalski Mark Hudson Visual Basic Michael Harper Jasen Michalski Mark Hudson

Problem Domain

Problem Domain Visual Basic was derived from BASIC Enables rapid application development of GUI applications, access to databases, and creation of ActiveX controls and objects. Microsoft stopped supporting Visual Basic in 2005, focusing on Visual Basic .NET.

Problem Domain (ctd.) Visual Basic.NET is an evolution of Visual Basic, implemented on the Microsoft .NET framework. Because of the .NET architecture earlier versions of Visual Basic had to be re-written before they could be used with .NET Visual Basic.NET dropped the .NET from it’s name in Visual Basic 2005.

Problem Domain (ctd.) Vista will run Visual Basic 6 programs, but Microsoft does not sell Visual Basic 6 anymore. They are encouraging users to switch to VB.NET

History and Evolution Visual Basic 1.0 for DOS was released in September 1992. The interface was textual, using extend ASCII characters to simulate the appearance of a GUI. Visual Basic 2.0 was released in November 1992. The programming environment was easier to use, and its speed was improved.

History and Evolution Visual Basic 3.0 was released in the summer of 1993 and came in Standard and Professional versions. Visual Basic 4.0 (August 1995) 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.

History and Evolution Visual Basic 5.0 (February 1997), Microsoft released Visual Basic exclusively for 32-bit versions of Windows. Visual Basic 6.0 (Mid 1998) improved in a number of areas, including the ability to create web-based applications. Visual Basic .NET (2002) (VB7) – Microsoft released VB.NET along with C# which received most of the attention

History and Evolution Visual Basic .NET (2003) (VB 7.1) – Improvements were made in the performance and reliability of the .NET IDE Visual Basic 2005 (VB 8.0) – Microsoft dropped the .NET portion of the title. Many improvements were made to reinforce Visual Basic .NET as a rapid application development platform and further differentiate it from C#.

History and Evolution Visual Basic 2008 (VB 9.0) – released with the Microsoft .NET Framework 3.5 on November 19, 2007. Release included: True ternary operator If(boolean, value, value) to replace IIF function Lambda expressions XML Literals Type Interface

Compared to C# and Java C# AND Java Virtual Basic int i; double d; String s; dim i As Integer dim d As Double dim s As String if(a == b){ //Code } else{ if a = b then ‘Code else end if public class Hello{ Public Class Hello End Class

Comparison to VBScript Visual Basic is a Windows based programming language for individually running applications VBScript is a scripting language mainly used to design web sites Because of the way the purposes of these languages, Visual Basic can be written in an environment that aids in implementation whereas VBScript can only be written in a plain text file with no support

VB.NET Language Concepts Uses Me instead of this Does not use a ; for initialization Used as a code behind for ASP.NET Does not use standard escapes characters Sub same as a function Partial Classes

Bubble Sort Using VB Sub bubblesort(ByRef need(), max_min As Boolean) Dim now As Integer Dim never As Boolean Dim pick As Integer: pick = UBound(need) Dim lower As Integer: lower = LBound(need) For i = lower To pick For j = lower To pick – 1 If need(j) > need(j + 1) = Not max_min Then now = need(j): need(j) = need(j + 1): need(j + 1) = now never = True End If Next j If never = False Then Exit Sub Else never = False Next i End Sub

Verification of Data Example Private Sub Emp_Name_AfterUpdate() If Nz(DLookup("Emp_Name", "Employees", _ "Emp_Name='" & Me.Emp_Name & "'"), "zzzz") <> _ "zzzz" Then MsgBox & _ "That name already exists in the employee table.“ End Sub

Array Code Examples Dim strData() As String = {"Joe Hasterman", "Ted Mattison", "Joe Rummel", "Brian _ Gurnure", "Doug Landal"} Dim strMatrix(,) As String = {{"Red", "Green"}, {"Yellow", "Purple"}, {"Blue", "Orange"}} Dim strMatrix(6) As String strArray(0) = “Hello” strArray(1) = “Help” strArray(2) = “Hangover” strArray(3) = “Happened” strArray(4) = “Headache” strArray(5) = “Aspirin”