Question: 3. Create a Windows Forms application. Use the following names for the project and solution, respectively: Customer Project and Customer Solution. Save the application

3. Create a Windows Forms application. Use the following names for the

 

3. Create a Windows Forms application. Use the following names for the project and solution, respectively: Customer Project and Customer Solution. Save the application in the VB2017\Chap09 folder. a. Create the interface shown in Figure 9-36. The File menu should have an Exit option. Change the IblMessage control's Visible property to False. b. Code the File menu's Exit option. c. The IblMessage control should disappear when a change is made to any of the text boxes. Create one event-handling Sub procedure to handle this task. d. Code each text box's Enter event procedure. e. The Save button should save the customer information to a sequential access file named customers.txt. Before saving the information, be sure to verify that all of the text boxes contain data: display an appropriate message if at least one text box is empty. Use the following format when saving the information: Save the customer's first name and last name, separated by a space character, on the same line. Then, on the next line, save the customer's address, followed by a comma, a space character, the city name, a comma, a space character, and the ZIP code. A blank line should separate each customer's information from the next customer's information. Figure 9-36 shows a sample of the sequential access file. Save the solution and then start and test the application. Stop the application and verify the contents of the customers.txt file. Customer information Eile First: Address: City: Information saved. biMessage Last: ZIP: Save

Step by Step Solution

3.51 Rating (144 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Application Name CustomerProject IDE Visual Studio 2017 Language Used VB Interface Design MainFormvb Design Code snippet MainFormvb Importing namespac... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!