Synopses & Reviews
When Microsoft introduced the Visual Basic .NET programming language, as part of its move to the .NET Framework two years ago, many developers willingly made the switch. Millions of others, however, continued to stick with Visual Basic 6. They weren't ready for such a radical change, which included an object-oriented environment similar to Java. They liked the old Visual Basic just fine.In an effort to win over those diehard VB6 developers, the company has included a new version of VB.NET in its upcoming next generation release of the Visual Studio .NET development platform. Visual Basic 2005 comes with innovative language constructs, new compiler features, dramatically enhanced productivity and an improved debugging experience. The language's new version is now available in beta release, and Microsoft is encouraging developers to give it a test drive.Visual Basic 2005: A Developer's Notebook provides the ideal test track. With nearly 50 hands-on projects, this practical introduction to VB 2005 will bring you up to speed on all the new features of this language by allowing you to work with them directly. The book summarizes the changes that VB 2005 brings, and tells you how to acquire, install and configure the beta version of VB 2005 SDK. Each project or experiment explores a different feature, with emphasis on changes that can increase productivity, simplify programming tasks, and help you add new functionality to your applications.This one-of-a-kind book also offers suggestions for further experimentation, links to on-line documentation and other sources of information, and practical notes and warnings from the author.The new Developer's Notebooks series from O'Reilly offers an in-depth first look at important new tools for software developers. Emphasizing example over explanation and practice over theory, they focus on learning by doing you'll get the goods straight from the masters, in an informal and code-intensive style. For those who want to get up speed with VB 2005 right away, this is the perfect all lab, no lecture guide.
T o w i n o v e r d e v e l o p e r s w h o s t i l l u s e V i s u a l B a s i c 6, M i c r o s o f t h a s a n e w v e r s i o n o f t h e V B . N E T l a n g u a g e f o r i t s n e x t g e n e r a t i o n r e l e a s e o f t h e V i s u a l S t u d i o . N E T d e v e l o p m e n t p l a t f o r m . V i s u a l B a s i c 2 0 0 5 i s n o w a v a i l a b l e i n b e t a r e l e a s e, a n d M i c r o s o f t i s e n c o u r a g i n g d e v e l o p e r s t o g i v e i t a t e s t d r i v e . V i s u a l B a s i c 2 0 0 5: A D e v e l o p e r' s N o t e b o o k p r o v i d e s t h e i d e a l t e s t t r a c k . W i t h n e a r l y 5 0 h a n d s - o n p r o j e c t s, t h i s p r a c t i c a l i n t r o d u c t i o n t o V B 2 0 0 5 w i l l b r i n g y o u u p t o s p e e d o n t h e l a n g u a g e b y a l l o w i n g y o u t o w o r k w i t h i t d i r e c t l y . E a c h p r o j e c t e x p l o r e s a n e w f e a t u r e, w i t h e m p h a s i s o n c h a n g e s t h a t c a n i n c r e a s e p r o d u c t i v i t y, s i m p l i f y p r o g r a m m i n g t a s k s, a n d h e l p y o u a d d n e w f u n c t i o n a l i t y t o y o u r a p p l i c a t i o n s . L i g h t o n t h e o r y a n d l o n g o n p r a c t i c a l a p p l i c a t i o n, t h e D e v e l o p e r' s N o t e b o o k s s e r i e s f r o m O' R e i l l y c o v e r s i m p o r t a n t n e w t o o l s f o r s o f t w a r e d e v e l o p e r s . Y o u g e t t h e g o o d s s t r a i g h t f r o m t h e m a s t e r s, i n a n i n f o r m a l a n d c o d e - i n t e n s i v e s t y l e . F o r t h o s e w h o w a n t t o g e t u p s p e e d w i t h V B 2 0 0 5 r i g h t a w a y, t h i s i s t h e p e r f e c t g u i de .
About the Author
Matthew MacDonald is a developer, author, and educator in all things Visual Basic and .NET. He's worked with Visual Basic and ASP since their initial versions, and written over a dozen books on the subject, including The Book of VB .NET (No Starch Press) and Visual Basic 2005: A Developer's Notebook (O'Reilly). He has also written Excel 2007:The Missing Manual, Excel 2007 for Starters: The Missing Manual, Access 2007:The Missing Manual, and Access 2007 for Starters: The Missing Manual, all from O'Reilly. His web site is http://www.prosetech.com/.
Table of Contents
The Developer's Notebook Series; Notebooks Are...; Notebooks Aren't...; Organization; Preface; Who This Book Is For; What You Need to Use This Book; About This Book; Conventions Used in This Book; Using Code Examples; Safari® Enabled; How to Contact Us; Acknowledgments; Chapter 1: Visual Studio; 1.1 How do I do that?; 1.2 Code, Debug, and Continue Without Restarting Your Application; 1.3 Look Inside an Object While Debugging; 1.4 Diagnose and Correct Errorson the Fly; 1.5 Rename All Instances of Any Program Element; 1.6 Use IntelliSense Filteringand AutoCorrect; 1.7 Edit Control Properties in Place; 1.8 Call Methods at Design Time; 1.9 Insert Boilerplate CodeUsing Snippets; 1.10 Create XML Documentation for Your Code; Chapter 2: The Visual Basic Language; 2.1 Use the My Objects to Program Common Tasks; 2.2 Get Application Information; 2.3 Use Strongly Typed Resources; 2.4 Use Strongly Typed Configuration Settings; 2.5 Build Typesafe Generic Classes; 2.6 Make Simple Data Types Nullable; 2.7 Use Operators with Custom Objects; 2.8 Split a Class into Multiple Files; 2.9 Extend the My Namespace; 2.10 Skip to the Next Iteration of a Loop; 2.11 Dispose of Objects Automatically; 2.12 Safeguard Properties with Split Accessibility; 2.13 Evaluate Conditions Separately with Short-Circuit Logic; Chapter 3: Windows Applications; 3.1 Use Office-Style Toolbars; 3.2 Add Any Control to a ToolStrip; 3.3 Add Icons to Your Menu; 3.4 Put the Web in a Window; 3.5 Validate Input While the User Types; 3.6 Create Text Boxes thatAuto-Complete; 3.7 Play a Windows System Sound; 3.8 Play Simple WAV Audio; 3.9 Create a Windows Explorer-like Split Window; 3.10 Take Control of Window Layout; 3.11 Control When Your Application Shuts Down; 3.12 Prevent Your Application from Starting Twice; 3.13 Communicate Between Forms; 3.14 Improve Redraw Speeds for GDI+; 3.15 Handle Asynchronous Tasks Safely; 3.16 Use a Better Data-Bound Grid; 3.17 Format the DataGridView; 3.18 Add Images and Controls to the DataGridView; Chapter 4: Web Applications; 4.1 Create a Web Application in Visual Studio 2005; 4.2 Administer a Web Application; 4.3 Bind to Data Without Writing Code; 4.4 Bind Web Controls to a Custom Class; 4.5 Display Interactive Tables Without Writing Code; 4.6 Display Records One at a Time; 4.7 Achieve a Consistent Look and Feel with Master Pages; 4.8 Add Navigation to Your Site; 4.9 Easily Authenticate Users; 4.10 Determine How Many People Are Currently Using Your Web Site; 4.11 Use Role-Based Authorization; 4.12 Store Personalized Information; Chapter 5: Files, Databases, and XML; 5.1 Get Drive Information; 5.2 Get File and Directory Information; 5.3 Copy, Move, and Delete Files; 5.4 Read and Write Files; 5.5 Compress and Decompress Data; 5.6 Collect Statistics on Your Data Connections; 5.7 Batch DataAdapter Commands for Better Performance; 5.8 Bulk-Copy Rows from One Table to Another; 5.9 Write Database-Agnostic Code; 5.10 Use the New XPathDocument and XPathNavigator; 5.11 Edit an XML Document with XPathNavigator; Chapter 6: .NET 2.0 Platform Services; 6.1 Easily Log Events; 6.2 Ping Another Computer; 6.3 Get Information About a Network Connection; 6.4 Upload and Download Files with FTP; 6.5 Test Group Membership of the Current User; 6.6 Encrypt Secrets for the Current User; 6.7 Unleash the Console; 6.8 Time Your Code; 6.9 Deploy Your Application with ClickOnce; Colophon;