Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.
The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
Lyrics from "Wasting Time," by Robert "Kid Rock" Ritchie, Lindsey Buckingham, Matthew Shafer 1998 Warner-Tamerlane Publishing Corp., Thirty Two Mile Music, Now Sounds Music, and Gaje Music. All Rights o/b/o Thirty Two Mile Music administered by Warner-Tamerlane Publishing Corp. All Rights Reserved. Used by Permission Warner Bros. Publications U.S. Inc., Miami, FL. 33014. "Wasting Time" contains samples from "Second Hand News" by Lindsey Buckingham Now Sounds Music.
The publisher offers discounts on this book when ordered in quantity for bulk purchases and special sales. For more information, please contact:
For sales outside of the U.S., please contact:
Visit Addison-Wesley on the Web: www.awprofessional.com
Library of Congress Cataloging-in-Publication Data
Visual Basic .NET power coding / Paul Kimmel.
ISBN 0-672-32407-5 (pbk. : alk paper)
1. Microsoft Visual BASIC. 2. BASIC (Computer program language) 3. Microsoft .NET. I. Title.
005.2"768 ”dc21 2003048166
Copyright 2004 by Pearson Education, Inc.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise , without the prior consent of the publisher. Printed in the United States of America. Published simultaneously in Canada.
For information on obtaining permission for use of material from this work, please submit a written request to:
Text printed on recycled paper
1 2 3 4 5 6 7 8 9 10 ”CRS ”0706050403
First printing, July 2003
This book is dedicated to my brother David Kimmel. Dave lives a life somewhere between Mr. Smith Goes to Washington and a Steven Seagal movie. He is humble and kind and a most excellent friend. I love you, brother.