Coding Your Program’s Actions

As mentioned earlier, the user interface of the Loan Calculator program is now complete. However, it doesn’t actually do anything at this point. For your program to become functional, you need to write some code. The term code—as it is used in this book—refers to one or more lines of programming commands, written in a particular programming language (Visual Basic, in our case).

Responding to Events

Visual Basic is an object-oriented, event-driven language. This means that a program’s interface is comprised of objects (controls, forms, and so forth); the program is taught what actions to perform when events happen to those objects.

An event is usually initiated by the user. By anticipating the possible events that ...

Get Special Edition Using Microsoft® Visual Basic® .NET 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.