Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

112 Introducing Programming Chapter 5 5.13 (Account Information App) Create an app that allows a user to enter a name, account number and deposit amount.

image text in transcribed

112 Introducing Programming Chapter 5 5.13 (Account Information App) Create an app that allows a user to enter a name, account number and deposit amount. The user then clicks the Enter Button, which causes the name and account number to be copied and displayed in two output Labels. The deposit amount entered will be added to the balance amount displayed in another output Label. The result is displayed in the same output Label. Every time the Enter Button is clicked, the deposit amount entered is added to the balance amount displayed in the output Label, keeping a cumulative total. When updating the Label, you need to write a statement such as balanceAmountLabel.Text Val (depositAmountTextBox.Text) Val(balanceAmountLabel.Text) Account Information Enter information Narne Joe Orange Account information Name Joe Orange Account number 12345 te Account number 12345 Deposit amount: 10000 Balance 10000 Figure 5.24 Account Information GUI a) Copying the template app to your working directory. Copy the directory C:\Exam- ples|ch05\Exercises VAccount Information to your C: 1simplyvB2010 directory b) Opening the app's template file. Double click AccountInformation.s1n in the AccountInformation directory to open the app. c) Creating an event handler. Add an event handler for the Enter Button's Click event d) Coding the event handler. Code the event handler to copy information from the Name: and Account number: TextBoxes to their corresponding output Labels Then add the value in the Deposit amount: TextBox to the Balance: output Label, and display the result in the Balance: output Label e) Running the app. Select Debug> Start Debugging to run your app. Enter the val- ues in Fig. 5.24 and click the Enter Button. Verify that the account information is dis- played in the Labels on the right. Enter varying deposit amounts and click the Enter Button after each. Verify that the balance amount on the right has the new values added. f Closing the app. Close your running app by clicking its close box g) Closing the IDE. Close the Visual Basic IDE by clicking its close box

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions