Hi all,
What i could really use help on is the Revellos project. For anyone who might possibly have the "Microsoft Visual Basic 2008 Reloaded" book this is on page 579. This is what the page says:
"Revellos has store located in several states. The sales manager has asked you to create an application that he can use to enter the following information for each store: the store number, the state in which the store is located, and the store manager's name. The application should save the information in a sequential access file. Each stores information should appear on a separate line in the file. In other words, the first stores number, state name, and manager ame should appear on the first line in the file. The application also should aloot the sales manager to enter a store number, and then display both the state in which the store is located and the store manager's name. Use the information shown in figure 10-42."
I have all the information coded so i didnt put the information on here. This is what i have so far.
Public Class Form1
Structure Revellos
Public manager As String
Public ID As String
Public state As String
Const file As String = "StoreReport.txt"
Dim report As String
End Structure
Dim store(9) As Revellos
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
store(0).manager = "Jeffery Jefferson"
store(0).ID = "1004"
store(0).state = "Texas"
store(1).manager = "Paula Hendricks"
store(1).ID = "1005"
store(1).state = "Texas"
store(2).manager = "Jake Johansen"
store(2).ID = "1007"
store(2).state = "Arizona"
store(3).manager = "Henry Abernathy"
store(3).ID = "1010"
store(3).state = "Arizona"
store(4).manager = "Barbra Millerton"
store(4).ID = "1011"
store(4).state = "California"
store(5).manager = "Inez Baily"
store(5).ID = "1013"
store(5).state = "California"
store(6).manager = "Sung Lee"
store(6).ID = "1015"
store(6).state = "California"
store(7).manager = "Lou Chan"
store(7).ID = "1016"
store(7).state = "California"
store(8).manager = "Homer Gomez"
store(8).ID = "1017"
store(8).state = "California"
store(9).manager = "Ingrid Nadkarni"
store(9).ID = "1019"
store(9).state = "New Mexico"
Can anyone please help me to where i need to go from here?
Thanks alot,
Sam