All rights reserved.
This book may not be duplicated in any way without the express written consent of the publisher, except in the form of brief excerpts or quotations for the purposes of review. The information contained herein is for the personal use of the reader and may not be incorporated in any commercial programs, other books, databases, or any kind of software without written consent of the publisher. Making copies of this book or any portion for any purpose other than your own is a violation of United States copyright laws.
Limits of Liability and Disclaimer of Warranty
The author and publisher of this book have used their best efforts in preparing the book and the programs contained in it. These efforts include the development, research, and testing of the theories and programs to determine their effectiveness. The author and publisher make no warranty of any kind, expressed or implied, with regard to these programs or the documentation contained in this book.
The author and publisher shall not be liable in the event of incidental or consequential damages in connection with, or arising out of, the furnishing, performance, or use of the programs, associated instructions, and/or claims of productivity gains.
Trademarked names appear throughout this book. Rather than list the names and entities that own the trademarks or insert a trademark symbol with each mention of the trademarked name, the publisher states that it is using the names for editorial purposes only and to the benefit of the trademark owner, with no intention of infringing upon that trademark.
The Coriolis Group, LLC
14455 N. Hayden Road
Scottsdale, Arizona 85260
FAX (480) 483-0193
Library of Congress Cataloging-in-Publication Data
Holzner, Steven. Visual Basic .NET black book / by Steven Holzner. p. cm. Includes index.
QA76.73.B3 H6895 2001
Printed in the United States of America
10 9 8 7 6 5 4 3 2 1
President and CEO
Katherine R. Hartlove
Product Marketing Manager
A Note from Coriolis
Coriolis Technology Press was founded to create a very elite group of books: the ones you keep closest to your machine. In the real world, you have to choose the books you rely on every day very carefully, and we understand that.
To win a place for our books on that coveted shelf beside your PC, we guarantee several important qualities in every book we publish. These qualities are:
Technical accuracy— It's no good if it doesn't work. Every Coriolis Technology Press book is reviewed by technical experts in the topic field, and is sent through several editing and proofreading passes in order to create the piece of work you now hold in your hands.
Innovative editorial design— We've put years of research and refinement into the ways we present information in our books. Our books' editorial approach is uniquely designed to reflect the way people learn new technologies and search for solutions to technology problems.
Practical focus— We put only pertinent information into our books and avoid any fluff. Every fact included between these two covers must serve the mission of the book as a whole.
Accessibility— The information in a book is worthless unless you can find it quickly when you need it. We put a lot of effort into our indexes, and heavily cross-reference our chapters, to make it easy for you to move right to the information you need.
Here at The Coriolis Group we have been publishing and packaging books, technical journals, and training materials since 1989. We have put a lot of thought into our books; please write to us at <email@example.com> and let us know what you think. We hope that you're happy with the book in your hands, and that in the future, when you reach for software development and networking information, you'll turn to one of our books first.
Coriolis Technology Press
The Coriolis Group
14455 N. Hayden Road, Suite 220
Phone: (480) 483-0192
Toll free: (800) 410-0192
To Nancy, of course, with thanks for seven wonderful years, and with anticipation for the next seventy.
About the Author
Steven Holzner is an award-winning author and master programmer who's been writing about Visual Basic even before version 1.0 went public. He's written 68 books on computing, and is a former contributing editor to PC Magazine, but Visual Basic is his favorite topic. His books have been translated into 16 languages around the world and sold over a million and a half copies. Holzner gives corporate seminars and training on programming around the country, and has his own Internet software company.
Steven graduated from MIT and received his PhD from Cornell. He's also been on the faculty of both MIT and Cornell. Steven loves to travel, and has been to more than 30 countries from Afghanistan to India, from Borneo to Iran, from Sweden to Thailand, with more to come. He and Nancy live in a small, picturesque town on the New England coast.
The book you are holding is the result of many people's dedication. I would especially like to thank Sean Tape, Managing Editor, who did such a great job of bringing this project together and shepherding it along, as well as Kim Eoff, Production Manager, Wendy Littley, Production Supervisor, and Meg Turecek, Production Coordinator, who kept things on track; Mary Swistara, the copyeditor who waded though everything and got it into such good shape; Jennifer Ashley, who proofread the book and helped polish the final product. Special thanks to Kourosh Ardestani for the terrific tech edit. Thanks to all: great job