Microsoft® Small Basic Flickr, ImageList, and Network Objects Estimated time to complete this lesson: 1 hour.

Slides:



Advertisements
Similar presentations
Microsoft® Small Basic
Advertisements

Microsoft® Small Basic
Microsoft® Small Basic
Iframes & Images Using HTML.
Microsoft® Small Basic
Communicating Information: Web Design. It’s a big net HTTP FTP TCP/IP SMTP protocols The Internet The Internet is a network of networks… It connects millions.
Microsoft® Small Basic Debugging Aids Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic Clock, Desktop, and Dictionary Objects Estimated time to complete this lesson: 1 hour.
. Website and file organization. How websites work.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Internet – Part II. What is the World Wide Web? The World Wide Web is a collection of host machines, which deliver documents, graphics and multi-media.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Compiled by ackoo Inserting images into a webpage.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Images By Tara Frieszell By Tara Frieszell. Adding images to your website will make it more interesting and add to the design. However, some viewers aren’t.
Unit 4.4 We are HTML Editors
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Microsoft® Small Basic Sharing Code Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic Clock, Desktop, and Dictionary Objects Estimated time to complete this lesson: 1 hour.
Downloading © Copyright William Rowan Objectives By the end of this you will be able to Download text and images from the internet for analysis,
Microsoft® Small Basic The Controls Object Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Lesson 2 — The Internet and the World Wide Web
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
Web Page Design I Retest Terms Review. 1. Web pages are created using a language known as ___________. The coding of this language must follow specific.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Images Inserting an image on a web page. chcslonline.org2 ITEMS REQUIRED Go to the course download page on the course website and download the 3 images.
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
Tutorial 1: Browser Basics.
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
JavaScript, Fourth Edition
The Internet and World Wide Web
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
Web Design (7) Images (1). Images and the Image Element Images can be placed in the flow of text..jpg,.png and.gif image files work in web pages The img.
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
1 After completing this lesson, you will be able to: Transfer your files to the Internet. Choose a method for posting your Web pages. Use Microsoft’s My.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
McLean HIGHER COMPUTER NETWORKING Lesson 6 Types of Browsers & WAP Explanation of browser functions Wireless access to the Internet Description of.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
YEAR 8 – WEB DESIGN IN HTML Lesson 2. STARTER Use the internet to find out what JavaScript is? Use ‘Microsoft Word’ to write down your list.
Microsoft® Small Basic Collision Detection Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic
Multimedia Web Pages. Multimedia displays Browser can load web pages that contains multimedia elements 1. Helper applications: stand-alone programs that.
Images Worksheet. Web template Download the template folder Unzip and save in your documents Rename the folder to “images work” without quotes.
Lesson 2: The World Wide Web Objectives After completing this lesson, you will be able to:  Define WWW and its relation to the Internet.  Explain how.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
Adding Images to Your Web Page Web Design Section 5-7 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
Microsoft® Small Basic Exploring Shapes Estimated time to complete this lesson: 1 hour.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
HTML Overview Part 8 – Java Applets 1. Applets 2  A Java applet is a small application embedded in your HTML document which runs in the browser window.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Word 2003 Working Together 1 Word 2003 and Your.
Adding Interactivity Comp 140 Fall Web 2.0 Major change in internet usage –From mostly static pages Text Graphics Simple links –To new paradigm.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
Computer Basics Introduction CIS 109 Columbia College.
Web Browser presentation Name/ Hassan AL-Abdulmohsen
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Egyptian Language School
Adding Images to Your Web Page
Microsoft® Small Basic
Microsoft® Small Basic
HTML Links.
Presentation transcript:

Microsoft® Small Basic Flickr, ImageList, and Network Objects Estimated time to complete this lesson: 1 hour

Flickr, ImageList, and Network Objects In this lesson, you will learn how to: Use different operations of the Flickr object. Use different operations of the ImageList object. Use different operations of the Network object.

The Flickr Object Small Basic provides the Flickr object with two operations– GetPictureOfMoment and GetRandomPicture. Flickr! You can access this online image-hosting Web site right from within your Small Basic program. Let’s explore each of these operations…

The Flickr Object You can use the GetPictureOfMoment operation of the Flickr object to get the URL for Flickr’s picture of the moment. You can then retrieve and display that image in your program by using the DrawImage or DrawResizedImage operations of the GraphicsWindow object.

The Flickr Object You can use the GetRandomPicture operation of the Flickr object to get the URL of a picture that has a tag in Flickr that you specify. For example, you can show five landscape photos on your desktop by using the GetRandomPicture operation and specifying the tag as “landscape,” as the example shows. After you run the program, your desktop wallpaper changes to one of five landscape images every 10 seconds.

Let’s look at another object that you can use to add specific images to your Small Basic program. The ImageList Object This is the ImageList object. You can use this object to load images from a specific location and store them in memory. The ImageList object provides the following operations: LoadImage—This operation loads the stored image from a local file or the Internet into the memory of your computer. You must specify the name or the URL of the file that you want to load. GetHeightOfImage and GetWidthOfImage—These operations retrieve the height and width of the stored image. When you use this operation, you must specify the name of the image file.

Let’s see how you can use the various operations of the ImageList object… The ImageList Object Let’s look at this with an example… You retrieve the height and width of the image by using the GetHeightOfImage and GetWidthOfImage operations. You then set the size of the GraphicsWindow object to the same size as the image. Now, you show image in the graphics window.

The Network Object As you see, the Network object provides two operations  DownloadFile and GetWebPageContents. You may sometimes want to include a certain file in your Small Basic program. This file may be available on your local network or as a webpage on the Internet. You can retrieve the required file from the network by using the Network object in Small Basic. Let’s learn more about these operations and how to use them…

The Network Object You can use the DownloadFile operation of the Network object to download a file from the network to a temporary file on your local computer. To use this operation, you must specify the location of the file on the network. The text window displays the location of the downloaded file on your computer.

The Network Object You can get the contents of a webpage that you specify by using the GetWebPageContents operation of the Network object. In this case, the text window displays the HTML code of the Web page, “http: //

Let’s Summarize… Congratulations! Now you know how to: Use different operations of the Flickr object. Use different operations of the ImageList object. Use different operations of the Network object. Use different operations of the Flickr object. Use different operations of the ImageList object. Use different operations of the Network object.

Show What You Know Write a program that performs the following operations:  Loads 10 images of animals from Flickr.  Sets the height and width of the graphics window to match the size of the images.  Displays the downloaded images in the graphics window.  Changes the image every two seconds.