Adding Code

Often, programmers run their applications as they build them despite the fact that no code yet exists to make the application do real work. You should be able to run your application now (by pressing F5, the Visual Basic shortcut key for compiling and running the application) to make sure that the labels and text boxes all look correct. Check out the ToolTip text to ensure you've entered the text properly. Click the application window's Close button to stop the program so that you can add the final code.

The code is going to use loops to calculate interest. When the user clicks the middle command button, the calculation should take place, assuming the user has filled in all the necessary text boxes for the calculation. Therefore, ...

Get Absolute Beginner's Guide to Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.