Karl Moore's Visual Basic .NET: The Tutorials


Most programming books are about as exciting as Bill Gates' left ear. But with this latest eye-opening release, technology author Karl Moore shows it doesn't have to be quite so dull and uninspiring. Split into eight dynamic parts, Karl Moore's Visual Basic .NET covers every key area of real-life computer developmentand promises to turn even newbie programmers into VB .NET wizards, quicker than anyone else. It's a perfect tutorial guide for those learning VB .NET from scratch or...

See more details below
BN.com price
(Save 9%)$34.95 List Price
Other sellers (Paperback)
  • All (21) from $1.99   
  • New (10) from $6.83   
  • Used (11) from $1.99   
Sending request ...


Most programming books are about as exciting as Bill Gates' left ear. But with this latest eye-opening release, technology author Karl Moore shows it doesn't have to be quite so dull and uninspiring. Split into eight dynamic parts, Karl Moore's Visual Basic .NET covers every key area of real-life computer developmentand promises to turn even newbie programmers into VB .NET wizards, quicker than anyone else. It's a perfect tutorial guide for those learning VB .NET from scratch or moving from VB6.

Karl Moore's Visual Basic .NET: The Tutorials consists of a number of key tutorials, each dealing with a specific, "real-life" area of programming. The tutorials are broken down into easily digestible 10-page installments, with an accompanying FAQ and review sheet at the close. Numerous "top tips" are also distributed throughout the texts to aid understanding.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Who put the fun back into VB.NET programming fundamentals? If Anne Robinson ever asks you that question, here’s the answer: Karl Moore. Moore, a senior editor at the VB technology site VB-World who spent years covering technology as a BBC radio personality, will take you all the way from painting your first form through building web services -- painlessly.

Karl Moore’s Visual Basic .NET: The Tutorials is organized into eight multi-chapter tutorials, each covering one essential area of VB.NET development. Getting started. Database access and integration. Basic ASP.NET web development. Writing mobile applications with Microsoft’s new .NET Mobile Internet Toolkit. Using object-oriented programming techniques. Building the aforementioned Web services. Moving from VB6 (if you’ve got any experience there). And finally, three chapters of tips and techniques, from beginner to advanced.

Moore doesn’t assume much from you, except a willingness to smile at the occasional goofy aside. Right out of the chute, in Chapter 1, you’ll create your first program (not “Hello World” but “MyFirstGroovyApp”); create a button and write the code to make it do something, then compile the whole shebang. By now, you’re hooked. Moore walks you through VB.NET’s menagerie of controls, shows how to make controls respond to events (the heart of Windows programming); then introduces variables (“Simple as an amoeba? You bet your bottom dollar, kiddo...”) You’ll expand your application with menus, methods, modules, and multiple forms; then learn how to handle errors (including how to use VB.NET’s new and powerful Try-Catch-Finally blocks).

That’s the first tutorial. In the second, you’ll focus on databases -- starting with the Northwind sample database built into Access; moving on to your own Access databases; learning the rudiments of SQL, then moving on to SQL Server, Web applications, and even transactions. Moore alleges that transactions are “easy as blowing your nose”; then, working in ASP.NET, he actually proves it. There’s also a full chapter on creating reports with the Crystal Reports designer bundled with Visual Studio .NET.

In Tutorial 3, you move deeper into ASP.NET, learning how to paint Web Forms just as you’ve already been painting Windows interfaces; adding controls, and gluing everything together with VB.NET code. He introduces the Calendar Control, one example of how much easier ASP.NET makes life; then presents and explains ten exceptionally useful code snippets (for redirection, cookies, browser detection, file uploading, and more). Tutorial 3 closes with forms authentication for restricting access to your site to users with recognized names and passwords.

After a taste of mobile web programming, Moore moves into object-oriented programming. Sure, you’re already building objects and classes: now you’re going to understand the implications and begin making the most of the objects you’re creating. Then, it’s on to an overview of Web Services: what they do, how to create one, and how to access one.

The book closes with a laundry list of handy tips and snippets. (Adding “smart navigation” to your Web Forms. Reading an XML file. Checking for leap years. Using simple encryption without the overhead of 128-bit whatever.)

It’s all written in Moore’s utterly inimitable style. (Building a snazzy user interface, Moore says it’s “looking smarter than Albert Einstein on Gingko Biloba.” Introducing [application deployment], Moore feels "a little like Zsa Zsa Gabor’s fifth husband: I know how to do it, but how do I make it interesting?” Then there’s the quote attributed to Richard Cook: “Programming today is a race between software engineers trying to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.”

The book’s appendices are downright useful. When you create a new VB project, VB.NET scatters dozens of files and references all over the place: One appendix tells you what those all are. Another gives you the standard naming conventions for everything from forms and classes to user-defined types and Crystal reports. (Stuff that experienced developers seem to have absorbed by magic but you can’t seem to find written down anywhere.)

Simple. Practical. Fun. That’s VB.NET -- when it’s taught according to Moore’s Law. (Bill Camarda)

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9781590590218
  • Publisher: Apress
  • Publication date: 4/25/2002
  • Series: Expert's Voice Series
  • Edition number: 1
  • Pages: 600
  • Sales rank: 1,330,480
  • Product dimensions: 9.25 (w) x 7.50 (h) x 1.22 (d)

Meet the Author

Karl Moore lives in Yorkshire, England. He is author of Karl Moore's Visual Basic .NET: The Tutorials and runs his own international consultancy group, White Cliff Computing Ltd. Karl regularly presents at industry conferences and is featured in leading development magazines, plus he's a frequent voice on BBC Radio. You can visit his official website at http://www.karlmoore.com.
Read More Show Less

Table of Contents

About the Author
About This Book
Tutorial 1 Beginning VB .NET 1
1.1 Programming, Visual Basic, and Everything 3
1.2 Exploring Controls and Making Decisions 23
1.3 Variables and the Coolest Code 51
1.4 Menus, Methods, Modules, and Multiple Forms 71
1.5 Errors, Setup and Going from Here 95
Tutorial 2 Doing Databases 117
2.1 Introducing Databases 119
2.2 Our Own Database and VB .NET 137
2.3 Doing It Completely in Code 165
2.4 SQL Server, Web Applications, Transactions ... Oh My! 189
2.5 Designing Reports and Going from Here 219
Tutorial 3 Working the Web 241
3.1 The ASP .NET Revolution 243
3.2 Ten Top Code Snippets You Can't Live Without 277
3.3 Authentication, Tips, Distribution, and More 293
Tutorial 4 Going Mobile 319
4.1 Introducing the Mobile Internet Toolkit 321
4.2 Your Device, Filters, Images, Memory, and More 343
Tutorial 5 Using Objects 367
5.1 Why Objects Are Important 369
5.2 Objects in Real Life, Class Libraries, and More 391
Tutorial 6 Services Rendered 417
6.1 Introducing the World of Web Services 419
Tutorial 7 From VB6 to .NET 445
7.1 All The Changes, Quickly 447
Tutorial 8 Tips and Techniques 475
8.1 Beginner Tips and Techniques 477
8.2 Intermediate Tips and Techniques 487
8.3 Advanced Tips and Techniques 505
Appendixes 531
App. A Installing Visual Studio .NET 533
App. B Project Defaults 536
App. C Standard Naming Conventions 542
App. D Windows Form Controls 545
App. E VB .NET Data Types 548
App. F SQL Server Data Types 550
Index 553
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 10 Customer Reviews
  • Anonymous

    Posted December 23, 2002

    Great book for the beginner!

    This book really does cut out all the jargon and gives it straight! An excellent source for the beginner and the "Tips and Techniques" section at the back is a real life saver. The only thing that slightly spoils it is the 'jokiness' of it all. Those who learn VB .NET won't be casual users or kids but the book seems to be aimed at that market. Overall the book is excellent and I would recommend it to anyone interested in VB .NET instantly.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted November 25, 2002

    Pure Genius, Excellent!

    A quick review to say I bought this book and have never looked backed. My friend recommended and at first glance, I thought it would perhaps be another Dummies-rehash. Not the case - this guy has a real talent for teaching. Moore is the only author I've really felt is exactly on my level and deals with all the real life issues you come across when developing. DEFINITELY worth buying. I now know five programmers - two newbies, three from VB6 - all using this book on a daily basis. A quality book worth much more than the price. Buy it. I'll buy from Moore and Apress again.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 7, 2003

    is this a joke?

    First and foremost, there were too many bad jokes. Ranging from obscure to the downright silly. Although I understand the need to make a break from the dreary world of pure code, this one borders on overkill. While there are many useful lessons in this book, I don't feel that there was enough explanation as to the 'how' and 'why' of what the reader was being told to do. In hindsight, I should have left this one on the shelf. I would not recommend this book to a friend.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted November 12, 2002

    Good info

    I'm new to VB, bought it because of the reviews here, the information on the book is good BUT I find is attempts at jokes to be to dull, to many "jokes". For that reason itself I only gave it 3 stars, many times I would think of putting it down because of the jokes

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted November 20, 2002

    On the right track

    The intimidating wall of books on computer applications at Barnes & Noble gives me headaches. This is one book that I bought after quickly reviewing it along many others. I am glad I spent the money, at least for the practical nature of the contents. The book would be 1/2 as thick if Karl Moore, the author, didn't try to put a joke in at every other sentence. If the jokes were meant as a way to disperse some of the frustration programmers are bound to experience I'd have to say they were not successful. The books from Microsoft Press seem to be designed for people who are new to computers and who are also mentally deficient. This book is good for people who are new to VB.Net and who are also fairly intuitive and can catch onto the simple stuff all by themselves. Sometimes, though, the leaps from example to application stretch my abilities to the point that I just have to leave the house and come back to it later. Perhaps that is good for learning. The book seems to cover a very broad range of issues and I know I¿ll need more books to be very useful with VB.Net. At least I am fairly confident that this book will give me a good starting point and the knowledge to know which way I¿m wanting to go.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 30, 2002

    VB6 to .net - Great Start

    I am a VB6 casual developer migrating to .net. I found Mr. Moore's book both very informative and entertaining (imagine that for a computer book - but he did it!). A variety of subjects were covered and the Tips & Techniques are great for those who are migrating. This is a good source for those of you moving to .net from VB6.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 14, 2002


    I¿m not new to VB programming, but like many, the transition from VB6 to .NET was not only frustrating, but also downright intimidating. This book does an excellent job of dispelling so many fears of the new platform and beautifully sets developers on the proper path. Every other programming book I've purchased, I inevitably find myself thinking, 'Dear God... this is such long reading!' Not so in this case. My only disappointment is that it comes in only one volume. I find myself repeatedly picking it up in hopes of finding one more morsel I may have missed the first time around. Karl Moore¿s excitement about programming is contagious, his TIPS and HOW-TO¿s are fantastic, and throughout it all¿ he proves to us that writing sophisticated applications for the web, windows, or whatever you goal... is really not rocket science after all.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 13, 2002

    Great book, great author!

    With all the .NET books on the market, I don't believe there is a better overall .NET tutorial book than this one; it is truly one of a kind. I find it easier to learn a new concept or technology best by actually using it -- only then does reading the nitty gritty details make good sense to me. A standard 3' dry reference type book just doesn't work for me as a jumping-in point. This one does -- rather than just reading about a concept or reading about how something is done, you're actually using it right off the bat, working with examples that work well to explain and demonstrate each concept, step by step. And for deeper delving into the topic from there, he provides other resources in the 'Where to Go From Here' section -- for me, those detailed readings will then make more sense, since I've actually tried it out first. I also like the idea of being able to work through these without the necessity of uploading files from a CD. I've tried other tutorial-style 'teach yourself' books, but too often, they are either not well organized, or the explanations of what is going on don't make sense. I find myself doing an exercise, but I don't understand the point of it is supposed to be -- or even more annoying, when the examples just plain don't work because something has been left out! With Karl Moore's book, his tutorials are well thought out, each one has a purpose to it, and that purpose is clearly defined. And just as importantly, he is enthusiastic and excited about the subject matter he's writing about. It's fun working with this -- and it's refreshing to find an author who seems to be having as much fun teaching us about it as we are learning it.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 27, 2002

    Excellent book, very informative

    Just stopped by and realised this title has no reviews: it should! This is a great 'hidden treasure' and highly recommended. I found this gem after discovering some of Karl's VB6 tutorials on the Web - and now I'm on the .NET bandwagon, I've found there's nothing better. As the editor review says, this book really keeps you alive. I laughed out loud at points and learned more than I've picked from a dozen 'regular' books. It's not patronizing either and isn't like the Dummies titles. It's clever, but still fun and can be picked up by anyone from beginners to advanced programmers learning .NET (like me). Take one drama, one comedy, ten programming books and mix them together: sounds like a weird book cocktail, but it's the best I've read so far!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 27, 2002

    The book to have

    Wow, well this does seem to be *the* book to have! I've been learning how to program in the VB.Net language for not very long, but in that short time, I have found Karl Moore's tutorials at VBWorld extremely useful. So much so, that when I discovered he'd written a book of tutorials I bought it right away, and so pleased I did. The descriptions, diagrams and tutorials are very easy to follow and understand. It's not stuffy, in fact in places it's quite funny. I'm not sure whether this reflects Karl Moore's personality, but if it does, then he's one hell of a funny guy. If you're looking to get started with the VB.Net language, then this book is a good place to start. It's certainly different to any other I have bought, and by the far the most user friendly. Thank you Karl!

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 10 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)