CSD 340 (Blum)1 Using Visual Studio 2005. CSD 340 (Blum)2 Start/Microsoft Visual Studio 2005/Microsoft Visual Studio 2005.

Slides:



Advertisements
Similar presentations
DREAMWEAVER Welcome to our website!
Advertisements

This Presentation Contains Narration and Notes To hear the narration, turn on your speakers or plug in headphones. If you would like to view this slideshow.
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Start menu -> all program -> Microsoft Visual SourceSafe-> Microsoft Visual Studio 2010 Click.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
CSD 340 (Blum)1 Using Microsoft Visual Studio.NET Development Environment and Introducing Functions.
Using the File Manager WebCT 6. Understanding File Manager The File Manager is the area where all course files are stored. Whenever you link a file in.
Chapter 19 – Macromedia Dreamweaver MX 2004
JavaScript “Hello World” in Microsoft Visual Studio August 2012.
Creating a Web Page HTML, FrontPage, Word, Composer.
Images: HTML and CSS. The Bells page without images in Source View and Design View.
Using Dreamweaver getting started 1)Start in your “My Documents” folder 2)Create a new folder called “website” 3)Create a sub folder called “images” 4)Start.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
CIS 338: Creating ActiveX Controls Dr. Ralph D. Westfall March, 2003.
Web Technologies Website Development Trade & Industrial Education
PowerPoint. Basic Vocabulary Slide - Presentation - Slide layout – ► ► ► ► a single page in PowerPoint all the slides for a speech all the slides for.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introducing Web Controls Outline 29.1 Analyzing the.
IE 411/511: Visual Programming for Industrial Applications
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
DREAMWEAVER Adding photos and other tips!. Making photo gallery  Gather ALL the photos you need into your images folder. (remember to copy the URL so.
Website Development with Dreamweaver
Microsoft Word 2000 Presentation 5. Major Word Topics Columns Tables Lists.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Using an HTML image (img) element’s onclick event to change the source (src) of an iframe to an embedded youtube video.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
CSD 340 (Blum)1 Drop-down list and timers. CSD 340 (Blum)2 Double click on the drop-down list icon to place one on the page.
Creating a Dynamic Web Page Template Module 5: Beyond the Basics with Expression Web LESSON 10.
Positioning Objects with CSS and Tables
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.
Making a webpage using DreamWeaver CSC 152 (Blum)1.
CSD 340 (Blum)1 Introducing Text Input elements and Ifs.
Make an HTML table using Visual Studio. Approach 1: drag table from Toolbox.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
1 Word Processing Intermediate Using Microsoft Office 2000.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Chapter 10 Creating a Template for an Online Form Microsoft Word 2013.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Creating Data Base & Sql Data Source
Chapter 2: The Visual Studio .NET Development Environment
With Microsoft FrontPage 2000
JavaScript “Hello World” in Microsoft Visual Studio 2013
Chapter 1: An Introduction to Visual Basic 2015
Chapter 2 – Introduction to the Visual Studio .NET IDE
ASP.NET Web Controls.
3.01 Apply Controls Associated With Visual Studio Form
JavaScript “Hello World” in Microsoft Visual Studio 2012
Muybridge Lab CSD 340 (Blum).
3.01 Apply Controls Associated With Visual Studio Form
How to Create a PBWorks Site
CIS16 Application Development Programming with Visual Basic
Cheat Sheet CSCI 100 JW Ryder
Creating Data Base & Sql Data Source
Using Templates and Library Items
Select tags CSD 340 (Blum).
Delete Comments After corrections have been made or you change your mind about something, you might want to delete the comment. Just highlight the comment.
Netscape Composer Add A Custom Button.
Programming with Microsoft Visual Basic 2008 Fourth Edition
Microsoft Excel 2007 – Level 2
Presentation transcript:

CSD 340 (Blum)1 Using Visual Studio 2005

CSD 340 (Blum)2 Start/Microsoft Visual Studio 2005/Microsoft Visual Studio 2005

CSD 340 (Blum)3 Choose the type of project you are most likely to be writing

CSD 340 (Blum)4 Warning to the impatient: starting Visual Studio for the first time at a particular computer can take a few minutes.

CSD 340 (Blum)5 File/New File

CSD 340 (Blum)6 Select the HTML Page Template and click Open

CSD 340 (Blum)7 File/Save HTMLPage1.htm As … (only use Save as some single files like this, never for anything more complicated)

CSD 340 (Blum)8 Use Save in drop-down, New Folder button (if needed) and File name TextBox to determine name and location of file.

CSD 340 (Blum)9 Add an HTML comment with your name. HTML comments begin with " " and generally do not contain "--" or ">".

CSD 340 (Blum)10 Add a meta tag. Note the IntelliSense drop- down list of options.

CSD 340 (Blum)11 There is also IntelliSense for the tag attributes, choose name.

CSD 340 (Blum)12 Finish the meta tag. Notice the color coding brown for tag name, red for attribute name, blue for attribute value, green for comment.

CSD 340 (Blum)13 If one places the cursor in or between the body tags, then the document’s properties appear in the Properties Window. If the Properties Window is not present go to View/Properties Window on the menu. One can view the properties of other items by selecting them from the Properties Window’s drop-down list.

CSD 340 (Blum)14 Place the cursor in the BgColor TextBox, then click on the ellipsis button that appears.

CSD 340 (Blum)15 Use the Color Picker dialog box to select a color.

CSD 340 (Blum)16 Note the corresponding change in the HTML Source Code.

CSD 340 (Blum)17 Click on the Design tab at the bottom to get a sense of what the page will look like.

CSD 340 (Blum)18 Enter some instructions at the top.

CSD 340 (Blum)19 Click on the ellipsis that results when the cursor is placed next to Text in the document’s properties.

CSD 340 (Blum)20 Choose a color for the text.

CSD 340 (Blum)21 Note the message suggesting that what we have done is old fashioned. Let’s redo it.

CSD 340 (Blum)22 Click on the ellipsis button that appears when the cursor is placed next to Style.

CSD 340 (Blum)23 Click on Background and then ellipsis

CSD 340 (Blum)24 Choose color.

CSD 340 (Blum)25 Choose Font and then click the ellipsis button next to Color.

CSD 340 (Blum)26 Choose a color and click OK.

CSD 340 (Blum)27 Change the size of the font. If one is happy with the sample text, click OK.

CSD 340 (Blum)28 Delete the “old” code.

CSD 340 (Blum)29 Click the Save button.

CSD 340 (Blum)30 On the Design tab, click on Layout/Insert Table

CSD 340 (Blum)31 Use the Insert Table dialog to assign the table properties. Click Cell Properties.

CSD 340 (Blum)32 Set the Cell properties.

CSD 340 (Blum)33 Result in Design

CSD 340 (Blum)34 Result in Source.

CSD 340 (Blum)35 Place the cursor inside the first cell and double click on the Image button on the Toolbox. If you don’t have the Toolbox, go to View/Toolbox. To keep the Toolbox in place, click on the icon that looks like a tack (look near the top of the Toolbox).

CSD 340 (Blum)36 One should be able to click on the ellipsis button that appears after placing the cursor in the Src TextBox, but I had problems which I reported to IT.

CSD 340 (Blum)37 Go to Source and type the file name including the extension. The file should be in the same folder as Memory.htm.

CSD 340 (Blum)38 It’s too big, better add a width attribute.

CSD 340 (Blum)39 Added image attributes. width: To control the size of the image. (There is also a height attribute, but if only the width is assigned, the aspect ratio of the original image will be maintained.) id: So we can distinguish one thing from another. alt: Some text in case an image cannot be found. May also be used by visually impaired users.

CSD 340 (Blum)40 Result in Design. Next copy image code into each cell. The ids must be changed. No two ids can be the same.

CSD 340 (Blum)41 Result of adding image tags to each cell.

CSD 340 (Blum)42 Result in Design.

CSD 340 (Blum)43 Adding a click event to the image tag. Now when user clicks the first image The function FlipCard11 is called. We must now define it!

CSD 340 (Blum)44 Start adding a script tag in the region.

CSD 340 (Blum)45 Write an alert just to test the calling of the function.

CSD 340 (Blum)46

CSD 340 (Blum)47 Security message about scripts

CSD 340 (Blum)48 Security Warning (Cont.)

CSD 340 (Blum)49 Result of user clicking on first image.

CSD 340 (Blum)50 Replace test code with more realistic code

CSD 340 (Blum)51 New result of user clicking.

CSD 340 (Blum)52 Add a double click event for the first card.

CSD 340 (Blum)53 Add a function to “handle” the double click event.

CSD 340 (Blum)54 A possible, but tedious way to continue. To finish the game, one could write 17 more click functions and 17 more double click functions. But there’s a better way using arguments.

CSD 340 (Blum)55 Add arguments to function calls.

CSD 340 (Blum)56 Add arguments to the function definitions

CSD 340 (Blum)57 The benefit of arguments The benefit of the arguments is now the function definition is generic – it does not specifically refer to the image id, and it does not specifically refer to the image file name. This way we can use the same function definition and just get the desired changes in behavior by calling the function with different arguments.

CSD 340 (Blum)58 New function call, old function definition.

CSD 340 (Blum)59 References Basics/CallingaFunctionfromanEventHandler.htm