Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Visual Basic question I'm having some trouble with. Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Customer
Visual Basic question I'm having some trouble with.
Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Customer List Solution and Customer List Project. Save the application in the ClearlyVB20121Chap22 folder. Change the name of the form file on your disk to frmMain.vb. shows a sample run of the application. The Save Customer button's Click event procedure should display the customer's number and name in the txtList control. It also should save the customer's number and name to a sequential access file. When the application is started, the numbers and names saved in the file should be displayed in the txtList control, and the next customer number should appear in the lblNumber control. For example, the IblNumber control in Figure 22-16 contains the number 5 because the last customer number in the txtList control is 4. If necessary, change the form's name to frmMain. Figure 22-16 a. Use Figure 22-16 as a guide when creating the interface. The txtList control's Multiline and ReadOnly properties are set to True, and its ScrollBars property is set to Vertical. b. Code the application. (Hints: Use two sequential access files: one to save the customer information and one to save the next customer number. Read the next customer number in the form's Load event procedure, and save it in the form's FormClosing event procedure. The FormClosing event occurs right before a form is about to be closed. The event is triggered when the computer processes the Me.CloseO statement and also when the user clicks the Close button on the form's title bar.) c. Save the solution and then start and test the application. Close the Code Editor window and then close the solution. Customers xtList Customer number: Customer list: lblNumber 1 Jennifer Jones 2 Thomas Carrington 3 Rachael Bonnet 4 Roger Mills Customer name: txtName Save Customer Exit Figure 22-16 Interface for Exercise 9Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started