1 PROGRAMMING IN VISUAL BASIC NET INTRODUCTION TO

1 PROGRAMMING IN VISUAL BASIC. NET INTRODUCTION TO VISUAL BASIC. NET Chapter-1 Bilal Munir Mughal

Topics 2 Understanding Programming and Visual Basic's Role The Importance of Application Design Tips for a Good Design Big Changes in Visual Basic. NET

Understanding Programming and Visual Basic's Role 3 What Is a Computer Program? A computer program/application is a series of instructions that enables a computer to perform a specific task. What Is a programming language? A programming language such as Visual Basic is used to translate instructions, as we humans understand them, into the steps that the computer can comprehend and follow e. g. track of your grocery list, calculating conversions between different units,

Understanding Programming and Visual Basic's Role 4 Broad categories of computer programs Packaged programs are those that you can purchase in a software store, via mail order, direct from a manufacturer, and so on. Packaged programs (sometimes known as canned programs) are predesigned to accomplish one or more specific tasks e. g. Microsoft Word Custom programs (also known as proprietary programs) are usually designed for a specific purpose within a particular organization. Distributed applications utilize the Internet (or other large-scale connectivity, such as a local intranet) to allow several different layers of an application to run at different locations. Application Service Providers (ASPs) allow companies to access programs and store data on their servers. Thanks to the Internet, these services are

Understanding Programming and Visual Basic's Role 5 Visual Studio. NET Framework, is Microsoft's attempt to bring these types of applications within the domain of the programmer. NET Framework (pronounced dot net) is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages. Programs written for. NET Framework execute in a software environment (as contrasted to hardware environment), known as the Common Language Runtime (CLR), an application virtual machine that provides services such as security, memory management, and exception handling. The class library and the CLR together constitute. NET Framework.

6 Common Language Infrastructure (CLI)

Understanding Programming and Visual Basic's Role 7 The Evolution of Visual Basic is a descendant of BASIC (Dartmouth University in 1964 ) Succeeding the classic Visual Basic version 6. 0, the first version of Visual Basic. NET debuted in 2002. As of 2014, following versions of Visual Basic. NET have been released. in 2002 (VB 7. 0) in 2003 (VB 7. 1) in 2005 (VB 8. 0) in 2008 (VB 9. 0) in 2010 (VB 10. 0) in 2012 (VB 11. 0) in 2013 (VB 12. 0)

The Importance of Application Design 8 Program's purpose is to solve a specific problem, and the design determines how it will solve that problem. Investing a significant amount of time in program design will benefit both you and the users of your programs.

How Design Fits into the Programming Process 9 The following types of questions must be addressed when designing your programs: What are the specific tasks the program needs to perform? Who are the users of this program? What will the user interface (screens) look like? What type of architecture should I use (Webbased, client-server)? What will the databases look like?

Tips for a Good Design 10 TIP 1: Understand the Requirements in Detail TIP 2: Make Your Design Flexible TIP 3: Keep Code Maintainability in Mind TIP 4: Design for Reuse TIP 5: Test Your Design

Systems Development Life-cycle (SDLC) 11

12 Q&A ?
- Slides: 12