3. Create a Windows Forms application. Use the following names for the project and solution, respectively:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
Application Name CustomerProject IDE Visual Studio 2017 Language Used VB Interface Design MainFormvb Design Code snippet MainFormvb Importing namespac... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Create a Windows Forms application. Use the following names for the project and solution, respectively: Texting Project and Texting Solution. Save the application in the VB2017\Chap01 folder. a....
-
In this exercise, you will complete the Moonbucks application that you created in Exercise 2 in Chapter 2. a. Use Windows to copy the Moonbucks Solution folder from the VB2017\Chap02 folder to the...
-
develop a trial balance, complete with an appropriate three-line heading 1. Bought office equipment from Peckoff Equipment Co. on 30-day credit terms, $1,390. Purchase Invoice #2071. Ledger Entries:...
-
Suppose you see evidence that the stock market is efficient. Would that make you more or less likely to invest in stocks for your 401(k) retirement plan when you get your first job?
-
The horizontal beam is assumed to be rigid and supports the distributed load shown. Determine the angle of tilt of the beam after the load is applied. Each support consists of a wooden post having a...
-
Find the discharge per unit width for a wide channel having a bottom slope of 0.00015 . The normal depth is \(0.003 \mathrm{~m}\). Assume laminar flow and justify the assumption. The fluid is...
-
The computer workstation furniture manufacturing that Adria Lopez started is progressing well. At this point, Adria is using a job order costing system to account for the production costs of this...
-
. Hafnaoui Company reported pretax net income from continuing operations of $800,000 and taxable income of $500,000. The book-tax difference of $300,000 was due to a $200,000 favorable temporary...
-
Search the Internet for five companies in different industries. Then, see what clues are given on the websites as to factors affecting sales budgeting for each company. Write a brief, one-page...
-
Boston Via Transportation company has been given the job of providing advance transport to a new stadium. It is possible to use existing railway connections and bus routes. Each bus will cost $90000...
-
How does the painter's manipulation of chiaroscuro and perspective contribute to the evocative imagery that imbues their work with layers of symbolic meaning and psychological depth?
-
PLANNING BUSINESS MESSAGES. Topic 1: Following the 3-x-3 writing process Topic 2: Analyzing the Purpose and anticipating the audience Topic 3: Improving the Tone and Clarity of a Message. Describe...
-
How does the poet's adept use of imagery serve to transmute the ineffable essence of human experience into a vivid tapestry of sensory perception and emotional resonance?
-
What actions could JP Chase & Morgan have used to lessen the impact of the 2 0 1 3 financial loss? Explain
-
Choose the following terms to define and state the significance : 1. Canadian Human Rights Act 2. Constitutional Law 3. Negative Rights 4. Human Dignity 5. Affirmative Action 6. The Charter of Rights...
-
Explain these TWENTY matters to deal with before a meeting in sufficient detail and for each, consider TWO likely consequences to be suffered in the event of a failure to ensure that they are...
-
Read Case Study Google: Dont Be Evil Unless and answer the following: Given its mission of providing information to the world, should Google censor searches in China?
-
Which of the following declares a five-element one-dimensional array? a. Dim intSold(4) As Integer b. Dim intSold(5) As Integer = {4, 78, 65, 23, 2} c. Dim intSold() As Integer = {4, 78, 65, 23, 2}...
-
When entered in a procedure, which of the following statements will result in a syntax error? a. Me.Clse() b. Integer.TryPars(txtHours.Text, intHours) c. Dim decRate as Decimel d. All of the above.
-
Patti Garcia owns two cars, referred to as Car 1 and Car 2. She wants to drive one of the cars to her vacation destination, but shes not sure which one (if any) would cost her the least amount in...
-
With reference to Exercise 10.50, test the null hypothesis \(p=0.18\) versus the alternative hypothesis \(p eq 0.18\) at the 0.01 level. Data From Exercise 10.50 10.50 In a random sample of 160...
-
In a random sample of 160 workers exposed to a certain amount of radiation, 24 experienced some ill effects. Construct a \(99 \%\) confidence interval for the corresponding true percentage using the...
-
Refer to Example 5 but suppose there are two additional design plans \(\mathrm{B}\) and \(\mathrm{C}\) for making miniature drones. Under B, 10 of 40 drones failed the initial test and under C 15 of...
Study smarter with the SolutionInn App