IE 148 Lab 7

IE 148 Lab 7 - T yler Fox and Morgan Hampel IE 148 Lab 7...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Tyler Fox and Morgan Hampel IE 148 Lab 7 Professor Sly Problem 14 Term is equal to what was read, not written. So if the variable “term” equaled sw.writeline, it would work. Problem 16 At the end of the program the command “Greetings.txt”.close() will not work because it is telling the program to close the word in quotations when they should be closing SW. It should read SW.close(). Problem 24 Option Strict On Imports System.IO Public Class Form1 Private Sub btnADD_Click( ByVal sender As System. Object , ByVal e As System. EventArgs ) Handles btnADD.Click Dim item, price As String item = TextBox1.Text price = TextBox2.Text Dim sw As IO. StreamWriter = IO. File .AppendText( "U:\cowboy.txt" ) sw.WriteLine(item & " " sw.Close() TextBox1.Clear() TextBox2.Clear() End Sub End Class
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Tyler Fox and Morgan Hampel IE 148 Lab 7 Professor Sly Problem 12 They didn’t set minimum.a and minimum.c to any index within an array. Problem 14
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

IE 148 Lab 7 - T yler Fox and Morgan Hampel IE 148 Lab 7...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online