Book description
Visual Basic expert Rod Stephens shows you how to leverage the latest features of VB 2010
Microsoft Visual Basic (VB) is the most popular programming language in the world, with millions of lines of code used in businesses and applications of all types and sizes. The new release of Visual Basic 2010 is tightly integrated with the Windows operating system and the .NET programming environment. Renowned VB authority Rod Stephens provides a comprehensive guide to Visual Basic programming, including the latest enhancements to the VB language and programming environment with Visual Studio 2010 The tutorial is packed with detailed and practical code examples that show readers how to master all of the features of VB.
Visual Basic authority Rod Stephens presents a must-have resource on Visual Basic, the most popular programming language in the word
Fully covers the newest features of Visual Basic 2010, such as array literals and initializers, collection initializers, implicit line continuation, Lambda expressions, and more
Features extensively revised and tested code to ensure compliance with the latest release
With this essential resource, you'll be able to quickly review the details of important programming, objects, properties, methods, and events.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- ABOUT THE AUTHOR
- CREDITS
- ACKNOWLEDGMENTS
- INTRODUCTION
-
I. IDE
- 1. Introduction to the IDE
- 2. Menus, Toolbars, and Windows
- 3. Customization
- 4. Windows Forms Designer
- 5. WPF Designer
- 6. Visual Basic Code Editor
- 7. Debugging
-
II. Getting Started
- 8. Selecting Windows Forms Controls
- 9. Using Windows Forms Controls
- 10. Windows Forms
-
11. Selecting WPF Controls
- 11.1. CONTROLS OVERVIEW
- 11.2. CONTAINING AND ARRANGING CONTROLS
- 11.3. MAKING SELECTIONS
- 11.4. ENTERING DATA
- 11.5. DISPLAYING DATA
- 11.6. PROVIDING FEEDBACK
- 11.7. INITIATING ACTION
- 11.8. PRESENTING GRAPHICS AND MEDIA
- 11.9. PROVIDING NAVIGATION
- 11.10. MANAGING DOCUMENTS
- 11.11. DIGITAL INK
- 11.12. SUMMARY
- 12. Using WPF Controls
- 13. WPF Windows
-
14. Program and Module Structure
- 14.1. HIDDEN FILES
- 14.2. CODE FILE STRUCTURE
- 14.3. TYPOGRAPHIC CODE ELEMENTS
- 14.4. SUMMARY
-
15. Data Types, Variables, and Constants
- 15.1. DATA TYPES
- 15.2. TYPE CHARACTERS
- 15.3. DATA TYPE CONVERSION
- 15.4. VARIABLE DECLARATIONS
- 15.5. INITIALIZING COLLECTIONS
- 15.6. OPTION EXPLICIT AND OPTION STRICT
- 15.7. SCOPE
- 15.8. PARAMETER DECLARATIONS
- 15.9. PROPERTY PROCEDURES
- 15.10. ENUMERATED DATA TYPES
- 15.11. ANONYMOUS TYPES
- 15.12. NULLABLE TYPES
- 15.13. CONSTANTS
- 15.14. DELEGATES
- 15.15. NAMING CONVENTIONS
- 15.16. SUMMARY
-
16. Operators
- 16.1. ARITHMETIC OPERATORS
- 16.2. CONCATENATION OPERATORS
- 16.3. COMPARISON OPERATORS
- 16.4. LOGICAL OPERATORS
- 16.5. BITWISE OPERATORS
- 16.6. OPERATOR PRECEDENCE
- 16.7. ASSIGNMENT OPERATORS
- 16.8. THE STRINGBUILDER CLASS
- 16.9. DATE AND TIMESPAN OPERATIONS
- 16.10. OPERATOR OVERLOADING
- 16.11. OPERATORS WITH NULLABLE TYPES
- 16.12. SUMMARY
-
17. Subroutines and Functions
- 17.1. SUBROUTINES
- 17.2. FUNCTIONS
- 17.3. PROPERTY PROCEDURES
- 17.4. EXTENSION METHODS
- 17.5. LAMBDA FUNCTIONS
- 17.6. RELAXED DELEGATES
- 17.7. PARTIAL METHODS
- 17.8. SUMMARY
- 18. Program Control Statements
- 19. Error Handling
-
20. Database Controls and Objects
- 20.1. AUTOMATICALLY CONNECTING TO DATA
- 20.2. AUTOMATICALLY CREATED OBJECTS
- 20.3. OTHER DATA OBJECTS
- 20.4. DATA OVERVIEW
- 20.5. CONNECTION OBJECTS
- 20.6. TRANSACTION OBJECTS
- 20.7. DATA ADAPTERS
- 20.8. COMMAND OBJECTS
- 20.9. DATAVIEW
- 20.10. DATAROWVIEW
- 20.11. SIMPLE DATA BINDING
- 20.12. CURRENCYMANAGER
- 20.13. COMPLEX DATA BINDING
- 20.14. SUMMARY
- 21. LINQ
-
22. Custom Controls
- 22.1. CUSTOM CONTROLS IN GENERAL
- 22.2. OTHER CUSTOM CONTROL TASKS
- 22.3. DERIVED CONTROLS
- 22.4. COMPOSITE CONTROLS
- 22.5. CONTROLS BUILT FROM SCRATCH
- 22.6. COMPONENTS
- 22.7. INVISIBLE CONTROLS
- 22.8. PICKING A CONTROL CLASS
- 22.9. CONTROLS AND COMPONENTS IN EXECUTABLE PROJECTS
- 22.10. CUSTOM COMPONENT SECURITY
- 22.11. SUMMARY
- 23. Drag and Drop, and the Clipboard
- 24. UAC Security
-
III. Object-Oriented Programming
- 25. OOP Concepts
- 26. Classes and Structures
- 27. Namespaces
- 28. Collection Classes
- 29. Generics
-
IV. Graphics
-
30. Drawing Basics
- 30.1. DRAWING OVERVIEW
- 30.2. DRAWING NAMESPACES
- 30.3. GRAPHICS
- 30.4. DRAWING EVENTS
- 30.5. SUMMARY
- 31. Brushes, Pens, and Paths
- 32. Text
- 33. Image Processing
- 34. Printing
-
30. Drawing Basics
-
V. Interacting with the Environment
- 35. Configuration and Resources
- 36. Streams
- 37. File-System Objects
- 38. Windows Communication Foundation
- 39. Useful Namespaces
-
VI. Appendices
- A. Useful Control Properties, Methods, and Events
-
B. Variable Declarations and Data Types
- B.1. VARIABLE DECLARATIONS
- B.2. INITIALIZATION EXPRESSIONS
- B.3. WITH
- B.4. FROM
- B.5. USING
- B.6. ENUMERATED TYPE DECLARATIONS
- B.7. XML VARIABLES
- B.8. OPTION EXPLICIT AND OPTION STRICT
- B.9. OPTION INFER
- B.10. DATA TYPES
- B.11. DATA TYPE CHARACTERS
- B.12. LITERAL TYPE CHARACTERS
- B.13. DATA TYPE CONVERSION FUNCTIONS
- B.14. CTYPE AND DIRECTCAST
- C. Operators
- D. Subroutine and Function Declarations
- E. Control Statements
- F. Error Handling
-
G. Windows Forms Controls and Components
- G.1. COMPONENTS' PURPOSES
- G.2. POINTER
- G.3. BACKGROUNDWORKER
- G.4. BINDINGNAVIGATOR
- G.5. BINDINGSOURCE
- G.6. BUTTON
- G.7. CHECKBOX
- G.8. CHECKEDLISTBOX
- G.9. COLORDIALOG
- G.10. COMBOBOX
- G.11. CONTEXTMENUSTRIP
- G.12. DATAGRIDVIEW
- G.13. DATASET
- G.14. DATETIMEPICKER
- G.15. DIRECTORYENTRY
- G.16. DIRECTORYSEARCHER
- G.17. DOMAINUPDOWN
- G.18. ERRORPROVIDER
- G.19. EVENTLOG
- G.20. FILESYSTEMWATCHER
- G.21. FLOWLAYOUTPANEL
- G.22. FOLDERBROWSERDIALOG
- G.23. FONTDIALOG
- G.24. GROUPBOX
- G.25. HELPPROVIDER
- G.26. HSCROLLBAR
- G.27. IMAGELIST
- G.28. LABEL
- G.29. LINKLABEL
- G.30. LISTBOX
- G.31. LISTVIEW
- G.32. MASKEDTEXTBOX
- G.33. MENUSTRIP
- G.34. MESSAGEQUEUE
- G.35. MONTHCALENDAR
- G.36. NOTIFYICON
- G.37. NUMERICUPDOWN
- G.38. OPENFILEDIALOG
- G.39. PAGESETUPDIALOG
- G.40. PANEL
- G.41. PERFORMANCECOUNTER
- G.42. PICTUREBOX
- G.43. PRINTDIALOG
- G.44. PRINTDOCUMENT
- G.45. PRINTPREVIEWCONTROL
- G.46. PRINTPREVIEWDIALOG
- G.47. PROCESS
- G.48. PROGRESSBAR
- G.49. PROPERTYGRID
- G.50. RADIOBUTTON
- G.51. RICHTEXTBOX
- G.52. SAVEFILEDIALOG
- G.53. SERIALPORT
- G.54. SERVICECONTROLLER
- G.55. SPLITCONTAINER
- G.56. SPLITTER
- G.57. STATUSSTRIP
- G.58. TABCONTROL
- G.59. TABLELAYOUTPANEL
- G.60. TEXTBOX
- G.61. TIMER
- G.62. TOOLSTRIP
- G.63. TOOLSTRIPCONTAINER
- G.64. TOOLTIP
- G.65. TRACKBAR
- G.66. TREEVIEW
- G.67. VSCROLLBAR
- G.68. WEBBROWSER
- H. WPF Controls
- I. Visual Basic Power Packs
- J. Form Objects
- K. Classes and Structures
- L. LINQ
- M. Generics
- N. Graphics
- O. Useful Exception Classes
- P. Date and Time Format Specifiers
- Q. Other Format Specifiers
- R. The Application Class
- S. The My Namespace
- T. Streams
- U. File-System Classes
- V. Index of Examples
Product information
- Title: Visual Basic® 2010 Programmer's Reference
- Author(s):
- Release date: March 2010
- Publisher(s): Wrox
- ISBN: 9780470499832
You might also like
book
Access™ 2007 VBA Programmer's Reference
This resource provides the tools you need to leverage Access 2007's built-in functionality and VBA in …
book
Mastering Microsoft® Visual Basic® 2010
The new edition of the ultimate comprehensive guide to Microsoft Visual Basic Where most VB books …
book
Visual Basic 2012 Programmer's Reference
The comprehensive guide to Visual Basic 2012 Microsoft Visual Basic (VB) is the most popular programming …
book
Professional Visual Studio 2015
In-depth coverage of the major Visual Studio 2015 revamp Professional Visual Studio 2015 is the leading …