Reading from File & Picture Boxes

Slides:



Advertisements
Similar presentations
Today we will begin our PowerPoint presentation!
Advertisements

HOW TO USE POWERPOINT By Bryan Kreps.
Introduction to PowerPoint
Features and How-to’s Introduction to Computers Mr. Jain
A POWERPOINT PRESENTATION By Add your name(s) here SOFTWARE Read and delete: You may change the order of slides if you wish. Use pictures whenever you.
PowerPoint Quiz Template
Choose the right picture
An array of controls Not particularly convenient in VB Examples: array of pictureboxes Array of textboxes Notes on Concentration game (a possible final.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Creating First Class Web Pages Log into your account.
Jacqueline A. Gill, Associate Professor PowerPoint 101 CREATING POWERPOINT TUTORIALS FOR BI CITY COLLEGE LIBRARIES.
 Open Photoshop  File>open>choose a picture  Go to filter>choose an effect.  Either save your image or use the snipping tool to copy and paste it into.
1.Click and type in the text boxes on the next slide to add the names of your choice. 2.Click on File…Save As… and choose the.ppsx or.pps format (PowerPoint.
1.Click and type in the text boxes on the next slide to add the names of your choice. 2.Click on File…Save As… and choose the.ppsx or.pps format (PowerPoint.
Insert Title Here Insert subtitle or other text here Change font? (use 1 font, max 3 sizes) Add background color or gradient (under “Format”)
PowerPoint How To: Editing Literature to Incorporate Mathematic Concepts Created by: Selena Empey.
Creating a Basic Presentation in PowerPoint Welcome to the Faculty Instructional Technology Support Center.
Use a picture of your animal for the background that you have saved to your folder. Go to Insert>Picture from File and find your picture. Then Right click.
A Power Point Presentation For... A Power Point Presentation ( click to advance slides )
VB Arrays Chapter 8 Dr. John P. Abraham Professor UTPA.
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
Basic PowerPoint By: Monica Rappe This is a presentation graphics program you can use to organize and present information in an exciting way.
Microsoft power point Lecture -12- By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering.
1.Click on “Start” menu 2.Click on “ 1. Choose a different layout for your slide.
What is PowerPoint? By Kettina L. Robinson. Unit Questions What do I want to accomplish? What do I want to accomplish? What content do I need to cover?
Instructions To use this Powerpoint resource please follow these steps: 1.Select which slide(s) you would like to use. 2.Right-click on the slide, under.
By: Susan Freeman Getting Started 1.Go to Start Programs Microsoft PowerPoint.
Grade 4 Science.  -Click Start  -Click Programs  -Click IHMC Cmap Tools  -Click Cmap Tools.
Introduction to VB programming Dr. John P. Abraham UTPA Chapters 2 & 3.
To Change the background color of the slide, choose Format / Background, which will bring up the following dialog box: Choose Fill Effects. This will bring.
[Children’s Book Title Here]
1 Sophiebook 101: Exploring the interface. 2 Open a new book in Sophie 1.File > New Book 2.Click OK.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Choose the right picture Choose the right word. 5.
Features and How-to’s Introduction to Computers Mr. Jain.
Instructions You can easily edit the text and images on these Pinterest viral quotes by selecting either the text box or picture and working with that.
Dr. Abraham Professor UTPA Graphical User Interface.
PowerPoint Grades 3-5.
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming UTPA – Fall 2012 This set of slides is revised from lecture.
Objective 8.02 Apply Procedures to Create Picture Boxes using Images.
CSCI 3327 Visual Basic Chapter 11: Files and Streams
Introduction to VB programming
the first card insert text here.
Making your own PPT The how to’s of PowerPoint.
How To Use This Template
Insert District / School / Class Name
المحاضرة الأولى Lab(1) أ.ساره الأحمدي برمجة حاسب 2.
How To Use This Template
A Power Point Presentation
The University of Texas – Pan American
PRESENTATION LAYOUTS This is a title slide
How To Use This Template
Who Am I Really? Your Name Here.
The only requirements are in the directions at the top of each slide.
How to Make a Google Slideshow
Systems Practice Use the next slide in this powerpoint as a template to identify 10 different types of systems. 4 of your slides need to be natural systems.
INSERT TITLE HERE.
Instructions You can easily edit the text and images on these Pinterest viral quotes by selecting either the text box or picture and working with that.
BO65: PROGRAMMING WRITING TO TEXT FILES.
Introduction to PowerPoint
Introduction to VB programming
YOUR text YOUR text YOUR text YOUR text
How To Use This Template
Valentines Flip Book Presentation!
with all of your first names, last initials.
Faded background picture (Basic)
Insert title of presentation
Presentation transcript:

Reading from File & Picture Boxes Dr. John Abraham Professor UTPA

Read Text File Imports System.io Private input As FileStream Private fileReader As StreamReader input = New FileStream("carddeck.txt", FileMode.Open, FileAccess.Read) fileReader = New streamReader(input) Dim cards(0 To 52) As String inputData = fileReader.ReadLine() cards = inputData.Split(","c)

Demo Read Program Note that cards(0) is blank.

Picture boxes Back Color Choose a back color Or a Background Image for the form Create a pictureBox

Picture Box Choose the pictureBox for the toolBox Change the Name Add an Image (picture) from the the file As in the Example Program

Adding picture at Runtime Dim PictureName As String Dim pictBox As PictureBox Dim offset As Integer = 5 PictureName = InputBox("What is the Name of the Picture?", "Picture") PictureName = "C:\vb2008\2008addPictures\" + PictureName pictBox = New PictureBox Controls.Add(pictBox) pictBox.BringToFront() pictBox.Image = Image.FromFile(PictureName)

Adding additional pictures Need to move the offsets top and left pictBox.Top = offset pictBox.Width = 100 pictBox.Height = 100 pictBox.Left = offset offset = offset + 10 Repeat the steps from the prev slide.

Demo the program here.