The Project Gutenberg EBook of Mr. Blake's Walking-Stick ...
The Walking for Water Project
description
Transcript of The Walking for Water Project
![Page 1: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/1.jpg)
THE WALKING FOR WATER PROJECT
IE 2060 Katelyn Cockrell
Alexis DuranTheresa Garcia
![Page 2: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/2.jpg)
Objective
•The assigned objective of this project was to create an inventory system using VB.net form applications. We have combined our assigned objective with a philanthropic goal to create The Walking for Water Project. The purpose of Walking for Water is to provide an outlet for the avid show lover to purchase shoes at a discounted price while simultaneously contributing their money to aid impoverished communities and nations.
![Page 3: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/3.jpg)
The Shoes
![Page 4: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/4.jpg)
Logic and Process Modeling Flowchart
Customer inputs desired shoe selection
Check inventory and sort
Display Shoes
Customer inputs shoe order
Process Order
Update inventory
Display Receipt
Management Report
Administration Login
Display Management
Reports
Reorder Shoes
Update Inventory
Symbol Key
Process
Document
Display
Decision
Data
Manual Input
![Page 5: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/5.jpg)
Level-0 Diagram Customer
Receives Order
Update Inventory
Update Daily Water
Donations
Inventory Data
Donation Data
Management Report
Produce Daily Water Donation Table
Produce Inventory Table
Customer Order
Confirm Payment
Check Status
Process Order
Remove from Inventory
Display Receipt
![Page 6: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/6.jpg)
Use-Case Diagram
![Page 7: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/7.jpg)
![Page 8: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/8.jpg)
• Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
• PicArray(0) = Image.FromFile("c:\Users\Alexis Duran\desktop\projecto\I.png")• PicArray(1) = Image.FromFile("c:\Users\Alexis Duran\desktop\projecto\K.png")• PicArray(2) = Image.FromFile("c:\Users\Alexis Duran\desktop\projecto\N.jpg")
• SlideCount = 1
• Button1.Hide()• Button7.Hide()• PictureBox3.Hide()• End Sub
• Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
• SlideCount = SlideCount + 1• If SlideCount > 2 Then SlideCount = 0• Picture1.Image = PicArray(SlideCount)• Select Case SlideCount• Case 2• GroupBox5.BackColor = Color.LightBlue• GroupBox6.BackColor = Color.Lavender• GroupBox7.BackColor = Color.Lavender• Case 0• GroupBox6.BackColor = Color.LightBlue• GroupBox5.BackColor = Color.Lavender• GroupBox7.BackColor = Color.Lavender• Case 1• GroupBox7.BackColor = Color.LightBlue• GroupBox6.BackColor = Color.Lavender• GroupBox5.BackColor = Color.Lavender• End Select• End Sub
![Page 9: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/9.jpg)
![Page 10: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/10.jpg)
![Page 11: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/11.jpg)
![Page 12: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/12.jpg)
![Page 13: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/13.jpg)
![Page 14: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/14.jpg)
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click If TextBox1.Text = "Admin" And TextBox2.Text = "12345" Then Button1.Show() PictureBox3.Show() TextBox1.Hide() TextBox2.Hide() Button7.Show() Button6.Hide() End If End Sub
![Page 15: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/15.jpg)
•On the Streamreader, there is a split function to separate the Brand from the shoe description, shoe size, qntty, price
Dim SA As New StreamReader("c:\Users\Kate\desktop\LOL.txt") Dim N, NA() As String Dim E1 As Emp Do N = SA.ReadLine If Not IsNothing(N) Then NA = N.Split(",") E1 = New Emp E1.Brand = NA(0) E1.Shoe = NA(1) E1.Qnty = NA(2) E1.Size = NA(3) E1.Price = NA(4) E1.Sell = NA(5) l = NA(0) & NA(1) & NA(2) & NA(3) & NA(4) & NA(5) a.Add(l) Ne.Add(E1) End If Loop Until IsNothing(N) SA.Close() position = 0
![Page 16: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/16.jpg)
![Page 17: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/17.jpg)
Private Sub Button8_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click Dim E1 As New Emp E1.Brand = Brand3.Text E1.Shoe = Shoe3.Text E1.Size = Size3.Text E1.Qnty = Qnty3.Text E1.Price = TextBox8.Text E1.Sell = TextBox17.Text Ne.Add(E1) position = Ne.Count - 1 HScrollBar1.Maximum = Ne.Count - 1 HScrollBar1.Value = Ne.Count - 1 End Sub
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click Dim SW As New StreamWriter("c:\Users\Alexis Duran\desktop\LOL.txt") For Each E1 As Emp In Ne SW.WriteLine("{0},{1},{2},{3},{4},{5}", E1.Brand, E1.Shoe, E1.Qnty, E1.Size, E1.Price, E1.Sell) Next SW.Close() End Sub
![Page 18: The Walking for Water Project](https://reader036.fdocuments.us/reader036/viewer/2022062301/5681485a550346895db56736/html5/thumbnails/18.jpg)
Conclusion
Throughout the course of this project, our group overcame many challenges, solved countless problems, and learned more about Visual Basic and the assistance that the Engineering Communication Studio has to offer. One of the toughest parts of the project was simply getting started; figuring out what our inventory system would be based on, designing the forms and starting the coding. When we were first writing our code, we designed it using fixed products, but ended up changing a large portion of it to allow for greater variability. One thing that we didn’t struggle with was working together as a team. We each brought something different to the project and tied our ideas together to come up with the final product.