Chapter 9. Creating Code Components
In this chapter
Using a New Class in an Application
As you develop more (and better) applications, you will find many opportunities to reuse code that you have already written. You may be tempted to copy code from old projects and paste it into your new projects. You would quickly learn, however, that doing so has several drawbacks. One of the chief drawbacks of this technique is the need to manage multiple copies of the same code. If you have developed a procedure that solves a certain problem, and you copy and paste that procedure into multiple projects, what happens if you discover a bug in the procedure? You must ...
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.