In this exercise, you modify the Check Digit application from

In this exercise, you modify the Check Digit application from this chapter’s Apply lesson. Use Windows to make a copy of the Check Digit Solution folder. Rename the copy Check Digit Solution-Hyphens. Open the Check Digit Solution.sln file contained in the Check Digit Solution-Hyphens folder. 

a. Modify the txtIsbn_KeyPress procedure to allow the user to also enter hyphens. 

b. Before verifying the length of the ISBN entered by the user, the btnAssign_Click procedure should assign the ISBN (without any hyphens) to the strIsbn variable. Make the appropriate modifications to the procedure. 

c. When displaying the ISBN in the lblFinalIsbn control, the btnAssign_Click procedure should insert a hyphen after the third number, the fourth number, the seventh number, and the twelfth number (for example, 978-1-337-10212-4). Make the appropriate modifications to the procedure. 

d. Save the solution and then start and test the application. (If the user enters 978-1-285-86026, with or without the hyphens, the btnAssign_Click procedure should display 978-1-285-86026-8.) 

 

Stressed over that homework?

Essay deadline breathing down your neck?

Let’s cut to the chase: Why struggle when you can ace it with zero hassle?

Whether it’s essays, research papers, or assignments — we’ve got you covered.

✅ Expert writers
✅ 100% original work
✅ No AI tools, just real pros

Stressed about your essay or homework? Get a top-quality custom essay NOW!!! Stop worrying. Start succeeding.

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2020 -2025 GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top