... option to either halt the execution of your program,
bvb_02 .book Page 266 Thursday, March 30, 20 06 12:39 PM
268 Chapter 8
Debug assertions are completely removed from the final release of your
program, ... program-
mers don’t try out their own creations, thus missing mistakes that can
hurt their pride and careers once they deliver the code. None of the
great tools in...
... recommend the theory
and practice of using objects. No other topic is as integral to the workings of
the Visual Basic 2005 language.
New in .NET
If you’re coming from a classic version of VB, you’ll ... dramatically.
bvb_02 .book Page 153 Thursday, March 30, 20 06 12:39 PM
Object-Oriented Programming 165
Visual Basic 2005 provides this ability because enumerat...
... Thursday, March 30, 20 06 12:39 PM
THE BOOK OF
™
VISUAL BASIC
2005
.NET Insight for Classic
VB Developers
by Matthew MacDonald
San Francisco
bvb_02 .book Page iii Thursday, March 30, 20 06 12:39 PM
32 ... Show a Form 104
Forms and the My Object 1 06
Modal Forms 107
The Startup Form and Shutdown Mode 108
Application Events 108
Form Oddities 110
The Inner W...
...
Comment in the drop-down list at the top of the Task List, instead of
User Tasks.
Figure 2-1 5: Comment tasks
bvb_02 .book Page 34 Thursday, March 30, 20 06 12:39 PM
VB 2005 Basics 63
All the other files ...
events. The answer? VB 2005 and its predecessor, VB .NET, represent a
complete overhaul of the Visual Basic language. The changes from class...
... March 30, 20 06 12:39 PM
112 Chapter 4
Visual Basic 6 Forms “Under the Hood”
In Visual Basic 6, every form is stored in a file with the extension .frm, and
any binary information (pictures, for example) ... (For example, try one of the items in the
Components section of the Toolbox.) Instead of appearing on the form,
bvb_02 .book Page 89 Thursday, March...
... with the theory of
application architecture than with the Visual Basic 2005 language.
For example, you may be interested in learning the basics about three-tier
design. Three-tier design is the ... March 30, 20 06 12:39 PM
Mastering Objects 191
Figure 6- 5 : Choosing the base form
Your new form, DerivedForm, will contain all the controls you created on
BaseForm. I...
... Sub
NOTE For more convenient access to the registry, you can use the My.Computer.Registry
branch of the
My object.
XML Files
The real story with XML and Visual Basic 2005 is how the .NET platform ...
rectangle. The rectangle represents the bounds inside of which you want the
text to be printed. The x and y coordinates tell .NET where the top-left corner...
... application.
bvb_02 .book Page 360 Thursday, March 30, 20 06 12:39 PM
12
WEB FORMS AND ASP .NET
Creating web applications with Visual
Basic 6 was a bit of a mess. To start with,
there were a dizzying number of different ... ".xml")
bvb_02 .book Page 349 Thursday, March 30, 20 06 12:39 PM
Threading 361
To use the BackgroundWorker, you begin by dragging it from...
... information from the Internet. This type of applica-
tion retrieves information from the Internet, and it doesn’t bother you with
the details of the process. However, it relies on having information ... with a minimum amount of coding.
Best of all, the ADO .NET data access code is identical whether you are pro-
gramming for the web or the desktop.
Basic ASP .NET D...