Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a new presentation using a design template. Enter text in the Slide pane. Create a new slide.
Advertisements

How can Microsoft PowerPoint 2007 help you share information?
Creating and Editing a Web Page Using Inline Styles
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Excel Web Feature Creating Static and Dynamic Web Pages Using Excel.
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,
Office 2003 Introductory Concepts and Techniques M i c r o s o f t PowerPoint Web Feature Creating a Presentation on the Web Using PowerPoint.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Customizing Outlook. Forms Window in which you enter and view information in Outlook Outlook Form Designer The environment in which you create and customize.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
Beginning Programming with the Visual Studio.NET Environment.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Microsoft Visual Basic 2005 CHAPTER 12 Cell Phone Applications and Web Services.
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
Several Ways to Print in Windows 98 by Ralph Godinez.
Find and enter a chat room Use Lync search to find rooms that you have access to. 1.In the Lync main window, click the Chat Rooms tab. 2.In the search.
XP Deleting Slides In Slide Sorter view or in the Slides tab in Normal view, right-click the slide thumbnail of the slide you want to delete; or in the.
IT 211 Project Integration and Deployment Lab #11.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
IE 411/511: Visual Programming for Industrial Applications
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
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.
Computer Programming for Engineers Introduction to Programming in C Language on Visual C Platform Intro. Comp. Prog. C-Language1.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
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.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.
Project Deployment IT [211 CAP] How to convert your project to a full application.
Programming with Visual C++ A short review of the process.
Programming with Visual Studio 2005.NET A short review of the process.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Programming with Visual Studio.NET A short review of the process.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Chapter 2 – Introduction to the Visual Studio .NET IDE
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Creating Your First Web Page – Topic: Creating a wiki, blog, image blog and podcast Click Arrow - Next Slide 1.
Microsoft Excel 2000 Analyzing Data Using Excel. ©2001 Paradigm Publishing Inc.Excel Section Title Bar Menu Bar Formatting Toolbar Standard Toolbar.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Creating and Editing a Web Page
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
Web Development in Microsoft Visual Studio 2013 / 2015.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Addison Wesley is an imprint of © 2011 Pearson Addison-Wesley. All rights reserved. Chapter 2 Creating Applications with Visual Basic.
Creating and Editing a Web Page Using Inline Styles
Data-information stored in files on the disks and CDs in your computer system Why should we save a file when we create it on the computer?
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Creating Web Pages with Links, Images, and Embedded Style Sheets
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
 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.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
DEVRY CIS 170 C I L AB 1 OF 7 G ETTING S TARTED Check this A+ tutorial guideline at
Chapter 2: The Visual Studio .NET Development Environment
Chapter 2 – Introduction to the Visual Studio .NET IDE
CIS16 Application Development Programming with Visual Basic
1. Open Visual Studio 2008.
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Presentation transcript:

Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )

10/30/2015Visual Studio Topics ► Before Starting Visual Studio 2005 (VS2005) ► Starting Visual Studio 2005 (VS2005) ► Creating VS2005 Project ► Creating VS2005 Source File ► Saving VS2005 Source File ► Building Source Files to Executable ► Running Program ► Closing VS2005 Project/Solution ► Opening an Existing VS2005 Project/Solution

10/30/2015Visual Studio Before Starting VS2005 For a new project, use Windows Explorer or some other method to create a new folder on a hard drive where your entire solution/project will be stored. Consider using a short descriptive name which will characterize the project. This path will be used in a later step.

10/30/2015Visual Studio Starting VS Click the Start button from the Windows taskbar and select All Programs  Microsoft Visual Studio 2005 (Application)  Microsoft Visual Studio 2005 (Executable). [1] 2. A Choose Default Environment Settings window appears. [2] (only first time after VS2005 installation) 3. Choose Visual C++ Development Settings [3] and click Start Visual Studio button. (only first time after VS2005 installation) 4. Visual Studio 2005 starts and a Start Page - Microsoft Visual Studio window appears. [4] ► SnapShots of Starting VS2005 SnapShots of Starting VS2005 SnapShots of Starting VS2005

10/30/2015Visual Studio Creating VS2005 Project 1. From the Start Page - Microsoft Visual Studio window EITHER click on New Project button [1] OR from the File menu, select New  Project... [2] 2. A New Project dialog box appears. [3] 3. From the Project Types: section, select Visual C++, then General. [3] 4. From the Templates: section, select Empty Project icon. [3] Then select the location for the project created before starting VS2005 by clicking the Browse… button at the end of the Location: text box [3], a Project Location dialog box appears. [4]

10/30/2015Visual Studio Creating VS2005 Project (cont’d…) 5. Select the location for the project that was created before starting VS2005 and click Open in the Project Location dialog box. [4] The path selected appears in the Location: text box. [5] 6. Enter a project name in the Name: text box [5] (ex: Test). This will be the name of the executable file. 7. Check box labeled: “Create directory for solution”. [5] Enter a solution name in the Solution Name: text box (ex: sln_Test). [6] Click the OK button. 8. The Solution Explorer window appears with the solution name in the title bar. The solution and project structures appear in the Solution Explorer window. [7] ► SnapShots of Creating VS2005 Project SnapShots of Creating VS2005 Project SnapShots of Creating VS2005 Project

10/30/2015 Visual Studio Creating VS2005 Source File 1. In the Solution Explorer window, right click Source Files, then select Add and New Item…. [1] An Add New Item dialog box appears. [2] 2. In the Add New Item dialog box in the Categories: section, select Visual C++ and Code. [2] In the Templates: section, select C++ file (.cpp). [2] In the Name: text box, [2] enter the name of the function (ex: main). [2] Click the Add button. 3. The function name appears in the Solution Explorer window under Source Files and an area opens to enter source code. [3]

10/30/2015Visual Studio Creating VS2005 Source File (cont’d…) 4. Enter source code in the open area. [4] 5. When source code has been entered, select File and Save All to save the source code. [5] 6. Note: For header files, select Header File instead of Source Files in step 1 above and select Header File (.h) instead of C++ File (.cpp) in step 2 above. ► SnapShots of Creating VS2005 Source File SnapShots of Creating VS2005 Source File SnapShots of Creating VS2005 Source File

10/30/2015Visual Studio Building Source Files to Executable 1. From the Build menu, select Rebuild Solution. [1] 2. The results of the compilation are displayed in the Output window. [2] 3. If there are errors indicated, make corrections then continue with step 5 on previous slide. ► SnapShots Of Compiling in VS2005 SnapShots Of Compiling in VS2005 SnapShots Of Compiling in VS2005

Running Program 1. From the Debug menu, select Start Without Debugging. [1] 2. A DOS window should open with the program output. [2] After responding to program as directed and viewing the output, press any key to continue. ► To create a new project repeat above steps. ► SnapShots of Running Program SnapShots of Running Program SnapShots of Running Program 10Visual Studio /30/2015

Visual Studio Closing VS2005 Project/Solution 1. From the File menu, select Close Solution. [1] 2. Respond to any message that may appear about saving changes. ► The solution/project file structure can be seen in slide [2]. ► SnapShots of Closing Project/Solution SnapShots of Closing Project/Solution SnapShots of Closing Project/Solution

10/30/2015Visual Studio Opening an Existing VS2005 Project/Solution 1. The entire solution folder (ex: sln_Test) can be copied to another folder or device. 2. In VS2005, select Open  Project/Solution… from the File menu. 3. An Open Project dialog box appears. Go to appropriate location of the project and select the appropriate FileName.sln file to open the solution. 4. The ProjectName - Microsoft Visual 2005 window with FileName.cpp tab should appear.