Vous voulez voir cette page en français ? Cliquez ici.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
17 used & new from CDN$ 21.61

Have one to sell? Sell yours here
 
   
Building Applications and Components with Visual Basic .NET
 
 

Building Applications and Components with Visual Basic .NET (Paperback)

by Ted Pattison (Author), Joe Hummel (Author) "LET'S START BY asking obvious question: What is .NET? ..." (more)
4.7 out of 5 stars  See all reviews (6 customer reviews)
List Price: CDN$ 54.99
Price: CDN$ 34.64 & eligible for FREE Super Saver Shipping on orders over CDN$ 39. Details
You Save: CDN$ 20.35 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.ca. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Ordering for Christmas? To ensure delivery by December 24 to Toronto, Ottawa, or Montreal, choose Express at checkout. Read more about holiday shipping.

9 new from CDN$ 34.64 8 used from CDN$ 21.61

Product Details


Product Description

From the Inside Flap

The .NET Framework is a development platform that was released byMicrosoft in the beginning of 2002. Using the .NET Framework is strategicbecause it allows companies to develop software that leverages Microsoft'smost recent innovations for building distributed applications. This platformalso provides features that make it easier, less costly, and more secureto deploy applications in a network environment.

Visual Basic .NET is a new programming language that has beendesigned especially for the .NET Framework. Once you learn how to writeand test code with Visual Basic .NET, you will be able to take advantage ofthe .NET Framework's many new features. This, in turn, will allow you tobuild networked applications and reusable component libraries that makethe most of what Microsoft has to offer.

For developers with experience using earlier versions of Visual Basic,some parts of the Visual Basic .NET language will seem very familiar. Forexample, Visual Basic .NET uses the same syntax for declaring variablesand for controlling the flow of execution using constructs such as If statementsand While loops. The fact that Visual Basic .NET feels like earlierversions of Visual Basic means that Visual Basic developers can continueto program using the same style as in the past. The similarities between versions also make it easier to port Visual Basic 6 code to Visual Basic .NET.

While Visual Basic .NET is in many ways similar to earlier versions ofVisual Basic .NET, it is definitely not the same. Visual Basic .NET is far morepowerful than —and therefore very different from—any previous version ofVisual Basic. You should expect a significant learning curve if you are migrating from Visual Basic 6 to Visual Basic .NET, because the new language introduces many programming features that have never been part of Visual Basic. If you're migrating from an object-oriented programming language such as C++ or Java, your transition to Visual Basic .NET will likely be a bit easier, but there are still plenty of details you must learn. It is our intention to provide you with those details.

Who Should Read This Book?

Building Applications and Components with Visual Basic .NET is meant for developers who want to write applications and component libraries for the .NET Framework using Visual Basic .NET. This book has been written for developers who have previous experience with an earlier version of Visual Basic or VBA. It has also been written for developers who are migrating to Visual Basic .NET from C++ and Java.

What Experience Do You Need?

The typical reader is assumed to be an intermediate to advanced developerwho has experience with Visual Basic, C++, or Java. You should alreadyknow how to create a simple class definition that contains fields and methods.You should know why it's important to use encapsulation and how todefine certain class members as private. Finally, you should understand thedifference between a class, an object, and an object reference.

It's helpful (but not essential) that you know the basics of computer science.It would be impossible to conduct an in-depth discussion of developingsoftware for the .NET Framework without talking about issues suchas scope, lifetime, the call stack, the heap, and threads. If you lack this kindof background, I ask you to ponder how things work at a lower level.

It's also helpful (but not essential) that you know how the ComponentObject Model (COM) works. COM supplies the underlying plumbing thatallows Visual Basic 6 developers to build applications using componentDLLs. Understanding COM has made developers much more adept atusing Visual Basic 6. While the .NET Framework replaces COM with anewer, more flexible infrastructure, many of the underlying principlesremain the same. Some principles, however, have changed to make developmenteasier. You must also know about COM to understand how interoperabilityworks between Visual Basic .NET and Visual Basic 6.

What Will You Learn?

For the average developer who's become comfortable and productive withVisual Basic 6, making the transition to Visual Basic .NET will require anontrivial effort. You must learn an entirely new platform and becomefamiliar with a new set of development tools. You must also learn the VisualBasic .NET programming language. This endeavor poses many challenges,because Visual Basic .NET is much different and far more powerful thanany previous version of Visual Basic. Along the way, you must learn newconcepts, new keywords, and new syntax.

The goal of this book is to help you make the transition to Visual Basic.NET as smoothly and quickly as possible. It first introduces the essentialarchitectural pieces of the .NET Framework. It then explores the new programmingfeatures that have been added to the latest version of VisualBasic. Here's a high-level list of topics covered in the book:

  • The .NET Framework and the Common Language Runtime (CLR)
  • Building applications and component libraries for the CLR
  • The Framework Class Library (FCL)
  • The Common Type System (CTS)
  • New object-oriented programming (OOP) features
  • New Visual Basic keywords and syntax required to support new OOP features
  • Programming with delegates and events
  • Using structured exception handling
  • Managing memory using values and objects
  • Naming, building, deploying, and revising assembly DLLs
  • Interoperating with COM and Visual Basic 6
  • What's Not in This Book?

    Building Applications and Components with Visual Basic .NET does not contain many step-by-step instructions. Therefore, this book won't appeal to thosereaders who just want to know how to perform a specific task but don't carewhy. While the authors sympathize with the need for "how," the goal hereis longer-term—to build your understanding of the "why" behind .NETand Visual Basic .NET.

    While this book focuses on object-oriented programming with VisualBasic .NET, it does not provide an in-depth discussion of issues relevant toobject-oriented design (OOD). You will be introduced to many new OOPfeatures and the syntax required to use them. In its coverage of these topics,however, the book focuses on the syntax and the effect that the syntax hason the behavior of your code. You will need to consult different resourcesif you want to learn about advanced high-level OOD topics such as designpatterns or modeling with UML.

    This book also does not cover topics related to creating distributedapplications. In particular, it will not teach you how to use ASP.NET or.NET Remoting. While the book does cover details that are important todevelopers who are creating client and server applications alike, you willhave to consult additional resources to learn how to make your applicationscommunicate across the network.

    If you're looking for a book with a great big example application that youcan use as a starting point, Building Applications and Components with VisualBasic .NET isn't the right book for you, either. Most of the code listings areshort, between 5 and 20 lines. When a code listing is provided, the authorsalways try to use as few lines as possible to focus your attention on a particular point. In particular, the code fragments often omit extraneous thingssuch as error handling. For this reason, the book's style doesn't lend itselfto readers who are looking for designs or code to simply copy-and-pasteinto production applications. When it comes to presenting concepts, the goalhere is to teach you how to fish, as opposed to simply giving you fish.At this URL, you can download example code that appears thisbook. Using the downloads, you can easily run, test, and debug VisualBasic .NET code that illustrates the key points and syntax discussed in eachchapter. I also plan to use this site to pre-release new chapters that I amwriting for the next edition of this book.

    As a mortal, I am far from perfect. The book's support site will thereforemaintain a list of errata--that is, typos and technical inaccuracies in the book. If you find an error within this book and you'd like to tell me about it, please forward it in an e-mail message to VBErrata@Barracuda.net.

    Acknowledgments

    A useful book is rarely the product of a single person. This certainly was notthe case as I worked on the manuscript for Building Applications and Componentswith Visual Basic .NET over the last two years. Many folks madeincredibly valuable contributions along the way.

    I would first like to thank Dr. Joe Hummel for joining me on this projectand helping me finish the book months (and possibly years) before Iwould have completed the work on my own. I thank Joe for his correctionsof my technical inaccuracies, for his rewriting of my damaged prose, andfor his overall contribution to helping me shape the story in this book. Ihope to work with Dr. Joe on many more projects in the future.

    I would like to thank Francesco Balena and Rocky Lhotka for contributingthe forewords for this book. I feel fortunate to have such goodfriends whom I consider to be living legends. The Visual Basic communityhas certainly benefited from their published works, and we all look forwardto more books from them in the future. You should also look for any opportunityto hear Francesco play the saxophone or hear Rocky tell a joke. Youwill not be disappointed.

    I also appreciate the candid honesty of my incredible team of energeticreviewers. My thanks go out to Greg Beamer, George Bullock, James W.Cooper, Gerard Frantz, Martin Heller, Rocky Lhotka, Jason Masterman,Fritz Onion, Ethan Roberts, Darshan Singh, Doug Turnure, Jason Whittington,Jim Wilson, Mike Woodring, and Paul Vick. I firmly believe that ahard-core critical review is a technical author's best friend. My philosophyis that if a reviewer has nothing bad to say, he shouldn't say anything at all.These guys certainly didn't let me down in this respect. Thanks again.

    I would like to thank all the technical people in the industry who havehelped to shape the way I think about software development and the .NETFramework. I will always be grateful to Don Box, who helped me so muchearly in my career. I would also like to say thanks to Craig Andera, BobBeauchemin, Niels Berglund, Scott Bloom, Keith Brown, Calvin Caldwell,Henk de Koning, Peter Drayton, Tim Ewald, Jon Flanders, Andrew Gayter,Justin Gehtland, Ken Getz, Ian Griffiths, Martin Gudgin, Stu Halloway,Simon Horrell, Paul Kirby, John Lam, Jose Mojica, Ted Neward, Jeff Prosise,Brian A. Randell, Brent Rector, Jeffrey Richter, Steve Rodgers, Dave Schmitt,Chris Sells, George Shepherd, Dan Sinclair, and Aaron Skonnard. There aredoubtlessly many other talented people who deserve my thanks from companiessuch as DevelopMentor, Microsoft, and QuickStart. My ability tosolicit feedback and to exchange ideas with all these people throughout thelast decade has been priceless.

    Last but not least, I'd like to thank the tireless staff at Addison-Wesley,who make publishing a reality. Awarm and heartfelt thanks goes out to myacquisitions editor, Stephane Thomas, for contributing so much energy andenthusiasm throughout the project and for constantly lying to her boss thatI was still on schedule. I would like to thank several other editors for theirassistance during the production phase, including Amy Fleischer, JillHobbs, and Michael Mullen. Finally, I would like to thank John Montgomery,Martin Heller, Stacey Giard, and all the other people at Microsoftwho worked so hard to put together the Microsoft .NET DevelopmentSeries with Addison-Wesley. I feel fortunate to be in such good company.

    —Ted Pattison
    Manhattan Beach, CA
    September 2003



    0201734958P10062003


    From the Back Cover

    Praise for Building Applications and Components with Visual Basic .NET

    “Ted shows a great depth of knowledge all the way down to the underlying mechanics of .NET. The author’s depth in certain areas, like Events and Delegates, makes this a very useful book.”

             —Gregory A. Beamer, Microsoft MVP

    “The content in Building Applications and Components with Visual Basic .NET is quite unique; I don’t think any other book covers the OOP features in the detail as this book does. This book is a definitive guide for all VB developers looking to master OOP skills.”

             —Darshan Singh, Managing Editor, PerfectXML.com

    “As a whole, the book is excellent—clear, and concise enough while still giving all the necessary details.”

             —Gerard Frantz, Consultant

    “Ted does a good job explaining the various OOP concepts and the high-level view of the CLR and related concepts. I definitely learned some things about the CLR that I didn’t know, and I found it a good read.”

             —Paul Vick, Technical Lead, Visual Basic .NET, Microsoft Corp.

    “When Ted’s first book came out in 1998 I dashed to the bookstore in a Harry- Potter-esque frenzy. That book taught me everything I needed to know about VB6, COM, MTS, etc. Now five years later, I have the privilege of reviewing his new VB.NET book (and also counting Ted as a good friend). Ted has done it again: combining the deep experience he’s gained in his years working with DevelopMentor with his strong grasp of all things .NET, Ted has given us a book that’s as easy to read as it is deep, informative, and accurate. This is THE book you need if you want to go long with Visual Basic .NET. To quote my Amazon review of his first book: ‘Thank you Ted, you’ve done us all a service by writing this great new volume on Visual Basic .NET and the .NET Framework.’”

             —George Bullock, MSDN

    “As you move forward into the .NET Framework with Visual Basic .NET, you’ll find the material in this book to be valuable.”

             —From the Foreword by Rocky Lhotka

    Building Applications and Components with Visual Basic .NET is the Visual Basic developer's guide to the .NET framework and object-oriented programming.

    The authors introduce the basic architecture of the .NET Framework and explore Visual Basic .NET's new OOP features, the syntax required to use them, and the effect that syntax has on code behavior. Readers gain skills essential to creating well-designed applications and component libraries for the .NET Framework.

    Among the topics explored in depth are:

  • Writing software for the .NET Framework
  • The Common Language Runtime (CLR)
  • The Framework Class Library (FCL)
  • Using Visual Basic's new object-oriented features
  • Programming with delegates, events, and exceptions
  • Understanding the difference between values and objects
  • Assembly deployment and versioning
  • COM and Visual Basic 6.0 interoperability
  • Building Applications and Components with Visual Basic .NET is the definitive guide to a quick and smooth transition to this new language, and an indispensable tool for becoming comfortable and productive with Visual Basic .NET.




    Inside This Book (Learn More)
    First Sentence
    LET'S START BY asking obvious question: What is .NET? Read the first page
    Explore More
    Concordance
    Browse Sample Pages
    Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
    Search inside this book:

    Tag this product

     (What's this?)
    Think of a tag as a keyword or label you consider is strongly related to this product.
    Tags will help all customers organize and find favorite items.
    Your tags: Add your first tag
     

     

    Customer Reviews

    6 Reviews
    5 star:
     (5)
    4 star:    (0)
    3 star:
     (1)
    2 star:    (0)
    1 star:    (0)
     
     
     
     
     
    Average Customer Review
    4.7 out of 5 stars (6 customer reviews)
     
     
     
     
    Share your thoughts with other customers:
    Most helpful customer reviews

     
    5.0 out of 5 stars Jaw Droppingly Good - A Masterpiece of Technical Writing., May 8 2004
    By A Customer
    I toyed with the idea of writing a really long and detailed review about the content of this book (like so many you see on Amazon), but in a nutshell, this book is a masterpiece, it's what all technical books should aspire to be, comprehensive, thorough, mercifully free of unnecessary flab, and deeply intelligent in its choice of concise and ingenious examples.

    It left me with the feeling that I'd been hit by a truck with the word 'clarity' emblazoned on the side.
    you won't be a .Net guru afterwards because .Net is Massive!

    but...

    it is in my view the best 'foundation' book of any kind I've ever had the pleasure to read, read it and then read Balena, Esposito et al, but I can't emphasize enough read this first, it is hearteningly and informatively brilliant. You WILL understand Visual Basic .net after reading it, after that go on to books that exploit specific namespaces like ADO.net, ASP.net, winforms, XML web services etc.. this book is not about any of that it's about the compiler, assemblies , types and the framework, the plumbing! this is anatomy class, surgery should come later, and as these things go, it's 'the business'!
    It just goes to show that there are still people in this world who really do care about what they put their name to.

    Was this review helpful to you? Yes No (Report this)



     
    5.0 out of 5 stars An essential resource, none better for moving to .NT, Feb 17 2004
    By A Customer
    As a college instructor, I have literally reviewed more than a dozen books on the Visual Basic .NET language. This books is far above its peers. It is well-organized, thorough, insightful, and clearly presents is topics. I can think of no better resource for experienced developers who need to transition to Visual Studio .NET and Visual Basic .NET.

    With coverage of essential topics such as the Common Language Runtime, the .NET Framework, changes in object-oriented programming, and managing and deploying assemblies, this text covers EVERY essential change in Visual Basic .NET

    That having been said, this book is not intended for new Visual Basic developers. You will not find the introductory material necessary to get you up to speed in Visual Basic programming. A familiarity with previous Visual Basic versions and a rock-solid understanding of object-oriented programming theory and methodology is essential.

    This is a hard-core professional reference, ready to give experienced programmers a jump-start into Visual Basic .NET, and its the best professional coverage of changes in .NET that I've found out there.

    Was this review helpful to you? Yes No (Report this)



     
    5.0 out of 5 stars It doesn't get any better than this, Dec 30 2003
    By William G. Ryan ".NET Nut" (Greenville, SC) - See all my reviews
    (REAL NAME)   
    I was looking at this book the other day and wasn't sure about it. I've recently picked up a few copies of Addison-Wesley's .NET Developer's series and really loved them, but thought "Oh boy, another VB.NET component book" But, when I looked at the cover, Francesco Balena and Rockford Lhotka both wrote parts of the Foreword and couldnt' have said nicer things. Well, I have everything that either of them have written and respect both of those authors blindly. If Balena or Lhotka say this book is good, it's good. Well, it's fabulous. Pattison is nothing short of amazing. The level of detail he covers things in is almost scarry. If you want to understand your art, and your art is VB.NET, this book is for you.. I couldn't find something to criticize about this book if you paid me to. Great examples, even better explanations and an author that can communicate to anyone - and can get his point across very succinctly!

    So, now I've now added Pattison to my list of Balena, Appleman, MacDonald and Lhotka as my favorite VB authors!

    Was this review helpful to you? Yes No (Report this)


    Share your thoughts with other customers: Create your own review
     
     
    Most recent customer reviews

    5.0 out of 5 stars A must-read book, even for experienced VB programmers
    I can't be the only VB programmer who has been dragged, kicking and screaming, into the OO world - as I've followed VB through its update history. But in the . Read more
    Published on Dec 6 2003

    5.0 out of 5 stars In Depth
    This book provides a truly in depth look at VB.NET and, very importantly, the .NET framework. This really takes you "under the hood" and shows you what your program is... Read more
    Published on Nov 29 2003 by Philip Williams

    3.0 out of 5 stars Good learning book, but falls a bit short
    As I have been a follower of Ted Pattison for quite some time, I was very excited about getting the chance to peruse his new book. Read more
    Published on Nov 11 2003 by Gregory A. Beamer

    Only search this product's reviews



    Look for similar items by category


    Look for similar items by subject


    Feedback


    Your Recent History

     (What's this?)

    After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.