CARVIEW |
Visual Basic 2005: A Developer's Notebook
- By
- Matthew MacDonald
- Publisher:
- O'Reilly Media
- Released:
- April 2005
- Pages:
- 264
To bring you up to speed with Visual Basic 2005, this practical book offers nearly 50 hands-on projects. Each one explores a new feature of the language, with emphasis on changes that can increase productivity, simplify programming tasks, and help you add new functionality to your applications. You get the goods straight from best-selling author Matthew MacDonald in an informal, code-intensive style. Part of our new Developer's Notebook series.
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.
-
Chapter 1 Visual Studio
-
How do I do that?
-
Code, Debug, and Continue Without Restarting Your Application
-
Look Inside an Object While Debugging
-
Diagnose and Correct Errorson the Fly
-
Rename All Instances of Any Program Element
-
Use IntelliSense Filteringand AutoCorrect
-
Edit Control Properties in Place
-
Call Methods at Design Time
-
Insert Boilerplate CodeUsing Snippets
-
Create XML Documentation for Your Code
-
-
Chapter 2 The Visual Basic Language
-
Use the My Objects to Program Common Tasks
-
Get Application Information
-
Use Strongly Typed Resources
-
Use Strongly Typed Configuration Settings
-
Build Typesafe Generic Classes
-
Make Simple Data Types Nullable
-
Use Operators with Custom Objects
-
Split a Class into Multiple Files
-
Extend the My Namespace
-
Skip to the Next Iteration of a Loop
-
Dispose of Objects Automatically
-
Safeguard Properties with Split Accessibility
-
Evaluate Conditions Separately with Short-Circuit Logic
-
-
Chapter 3 Windows Applications
-
Use Office-Style Toolbars
-
Add Any Control to a ToolStrip
-
Add Icons to Your Menu
-
Put the Web in a Window
-
Validate Input While the User Types
-
Create Text Boxes thatAuto-Complete
-
Play a Windows System Sound
-
Play Simple WAV Audio
-
Create a Windows Explorer-like Split Window
-
Take Control of Window Layout
-
Control When Your Application Shuts Down
-
Prevent Your Application from Starting Twice
-
Communicate Between Forms
-
Improve Redraw Speeds for GDI+
-
Handle Asynchronous Tasks Safely
-
Use a Better Data-Bound Grid
-
Format the DataGridView
-
Add Images and Controls to the DataGridView
-
-
Chapter 4 Web Applications
-
Create a Web Application in Visual Studio 2005
-
Administer a Web Application
-
Bind to Data Without Writing Code
-
Bind Web Controls to a Custom Class
-
Display Interactive Tables Without Writing Code
-
Display Records One at a Time
-
Achieve a Consistent Look and Feel with Master Pages
-
Add Navigation to Your Site
-
Easily Authenticate Users
-
Determine How Many People Are Currently Using Your Web Site
-
Use Role-Based Authorization
-
Store Personalized Information
-
-
Chapter 5 Files, Databases, and XML
-
Get Drive Information
-
Get File and Directory Information
-
Copy, Move, and Delete Files
-
Read and Write Files
-
Compress and Decompress Data
-
Collect Statistics on Your Data Connections
-
Batch DataAdapter Commands for Better Performance
-
Bulk-Copy Rows from One Table to Another
-
Write Database-Agnostic Code
-
Use the New XPathDocument and XPathNavigator
-
Edit an XML Document with XPathNavigator
-
-
Chapter 6 .NET 2.0 Platform Services
-
Easily Log Events
-
Ping Another Computer
-
Get Information About a Network Connection
-
Upload and Download Files with FTP
-
Test Group Membership of the Current User
-
Encrypt Secrets for the Current User
-
Unleash the Console
-
Time Your Code
-
Deploy Your Application with ClickOnce
-
-
Colophon

- Title:
- Visual Basic 2005: A Developer's Notebook
- By:
- Matthew MacDonald
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- April 2005
- Ebook Release:
- February 2009
- Pages:
- 264
- Print ISBN:
- 978-0-596-00726-3
- | ISBN 10:
- 0-596-00726-4
- Ebook ISBN:
- 978-0-596-10487-0
- | ISBN 10:
- 0-596-10487-1
-
Matthew MacDonald
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 https://www.prosetech.com/.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The Developer's Notebook series is modeled on the tradition of laboratory notebooks. Laboratory notebooks are an invaluable tool for researchers and their successors.
The purpose of a laboratory notebook is to facilitate the recording of data and conclusions as the work is being conducted, creating a faithful and immediate history. The notebook begins with a title page that includes the owner's name and the subject of research. The pages of the notebook should be numbered and prefaced with a table of contents. Entries must be clear, easy to read, and accurately dated; they should use simple, direct language to indicate the name of the experiment and the steps taken. Calculations are written out carefully and relevant thoughts and ideas recorded. Each experiment is introduced and summarized as it is added to the notebook. The goal is to produce comprehensive, clearly organized notes that can be used as a reference. Careful documentation creates a valuable record and provides a practical guide for future developers. Sanders Kleinfeld was the production editor and proofreader for Visual Basic 2005: A Developer's Notebook, and Derek Di Matteo was the copyeditor. Marlowe Shaeffer and Claire Cloutier provided quality control. Angela Howard wrote the index.
Edie Freedman designed the cover of this book. Emma Colby produced the cover layout with QuarkXPress 4.1 using the Officina Sans and JuniorHandwriting fonts.
David Futato designed the interior layout, with contributions from Edie Freedman. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Adobe Boton; the heading font is ITC Officina Sans; the code font is LucasFont's TheSans Mono Condensed, and the handwriting font is a modified version of JuniorHandwriting made by Tepid Monkey Foundry and modified by O'Reilly. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. This colophon was written by Colleen Gorman.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
|