Question: In this exercise, you modify the Password application from this chapters Apply lesson. Use Windows to make a copy of the Password Solution folder. Rename
In this exercise, you modify the Password application from this chapter’s Apply lesson. Use Windows to make a copy of the Password Solution folder. Rename the copy Password Solution-Spaces. Open the Password Solution.sln file contained in the Password Solution-Spaces folder.
a. Start the application. Type the following three words, using two spaces (rather than one space) to separate each word: programming is fun. Click the Create password button. The Password box displays p5 followed by a space, the letter i, a space and the letter f. Click the Exit button.
b. Open the Code Editor window and locate the btnCreate_Click procedure. The first instruction in the loop concatenates the character that follows the space. Modify the loop’s code so that it performs the concatenation only when the character is not a space. Save the solution and then start the application. Use the information in Step a to test the application. This time, the Password box should display p3if.
Step by Step Solution
3.18 Rating (159 Votes )
There are 3 Steps involved in it
Name Password Project Purpose Create a password Programmer on Option Explicit On Option Strict On Op... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1814_60b8c122857b0_823580.pdf
180 KBs PDF File
1814_60b8c122857b0_823580.docx
120 KBs Word File
