Understanding the Visual IDE

Slides:



Advertisements
Similar presentations
Information System Design Lab 5&6. User Interface Design.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
C# Programming: From Problem Analysis to Program Design1 2 Your First C# Program C# Programming: From Problem Analysis to Program Design 2 nd Edition.
Introduction to Computing and Programming
Compunet Corporation Programming with Visual Basic.NET GUI Week # 11 Tariq Ibn Aziz.
C# Programming: From Problem Analysis to Program Design1 2 Your First C# Program.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Creating a Console Application with Visual Studio
1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Microsoft Visual Basic 2005 CHAPTER 12 Cell Phone Applications and Web Services.
A First Program Using C#
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
C# Programming: From Problem Analysis to Program Design
Introduction ITEC 420.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Visual Basic.NET Windows Programming
Chapter 2: The Visual Studio .NET Development Environment
INF230 Basics in C# Programming
C# Programming: From Problem Analysis to Program Design
Chapter 1: An Introduction to Visual Basic 2015
Introduction to Computer CC111
Computer Software: Programming
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
1. Introduction to Visual Basic
Visual programming Chapter 1: Introduction
3.01 Apply Controls Associated With Visual Studio Form
Module 1: Getting Started
C# Programming: From Problem Analysis to Program Design
Social Media And Global Computing Introduction to Visual Studio
Chapter 2 – Introduction to the Visual Studio .NET IDE
Hands-on Introduction to Visual Basic .NET
CIS16 Application Development Programming with Visual Basic
1. Open Visual Studio 2008.
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Presentation transcript:

Data Structures and Database Applications Intro to Visual Studio and Console Applications

Understanding the Visual IDE A Console Application

Understanding the Visual IDE Navigating the IDE Menu - File, Edit, View, Project, Build, Debug, Data, Tools, Windows, Help

Understanding the Visual IDE The Code Editor

Understanding the Visual IDE The Toolbars

Understanding the Visual IDE The Toolbox

Understanding the Visual IDE The Solution Explorer

Understanding the Visual IDE The Server Explorer

Understanding the Visual IDE The Properties Window

Understanding the Visual IDE The Error List Window

Types of C# Applications Developed Console applications (Text based) Windows Form applications (GUI based - graphical user interface) Web applications Class libraries and stand-alone components (.dlls), smart device/mobile applications, and services can also be created

Console Applications Normally send requests to the operating system Display text on the command console Easiest to create Simplest approach to learning software development Minimal overhead for input and output of data

Windows Form Applications

Web Applications C# was designed with the Internet applications in mind Can quickly build applications that run on the Web with C# Using Web Forms: part of ASP.NET Using MVC: A more modern Web development Architecture (Pattern)

Web Applications

Windows Applications Applications designed for the desktop Designed for a single platform Use classes from System.Windows.Form namespace Applications can include menus, pictures, drop-down controls, buttons, textboxes, and labels Use drag-and-drop feature of Visual Studio

C# Elements

Create Console Application Begin by opening Visual Studio Create New Project Select New Project on the Start page OR use File → New Project option Select the Template Select “Visual C#” on the Left Select “Console Application” in the Center

Create New Project

Code Automatically Generated

Typing Program Statements IntelliSense feature of the IDE Change the name of the class and the source code filename Use the Solution Explorer Window to change the source code filename Select View → Solution Explorer

Rename Source Code Name Rename the class name here to HelloWorld.cs Then click “Yes” and the class name in the code will be renamed to HelloWorld

Compile and Run Application To run or execute application – click Start Debugging or Start Without Debugging on the Debug menu Shortcut – You can also just click on the Green Arrow with the word “Start” next to it: When the program finishes it does not hold the output screen → output flashes quickly Last statement in Main( ), add Console.Read( );

Running an Application OR

Debugging an Application Types of errors (which one is harder to detect?) Syntax errors Typing error Misspelled name Forget to end a statement with a semicolon Run-time errors Failing to fully understand the problem Logical error

Missing ending double quotation mark Error Listing Missing ending double quotation mark