Visual Basic 2010 Programmer's Reference
Visual Basic 2010 Programmer's Reference
Product not available for purchase
DescriptionVisual 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.
PART I: IDEI.
CHAPTER 1 Introduction to the IDE.
CHAPTER 2 Menus, Toolbars, and Windows.
CHAPTER 3 Customization.
CHAPTER 4 Windows Forms Designer.
CHAPTER 5 WPF Designer.
CHAPTER 6 Visual Basic Code Editor.
CHAPTER 7 Debugging.
PART II: GETTING STARTED.
CHAPTER 8 Selecting Windows Forms Controls.
CHAPTER 9 Using Windows Forms Controls.
CHAPTER 10 Windows Forms.
CHAPTER 11 Selecting WPF Controls.
CHAPTER 12 Using WPF Controls.
CHAPTER 13 WPF Windows.
CHAPTER 14 Program and Module Structure.
CHAPTER 15 Data Types, Variables, and Constants.
CHAPTER 16 Operators.
CHAPTER 17 Subroutines and Functions.
CHAPTER 18 Program Control Statements.
CHAPTER 19 Error Handling.
CHAPTER 20 Database Controls and Objects.
CHAPTER 21 LINQ.
CHAPTER 22 Custom Controls.
.CHAPTER 23 Drag and Drop, and the Clipboard.
CHAPTER 24 UAC Security.
PART III OBJECT-ORIENTED PROGRAMMING.
CHAPTER 25 OOP Concepts.
CHAPTER 26 Classes and Structures.
CHAPTER 27 Namespaces.
CHAPTER 28 Collection Classes.
CHAPTER 29 Generics.
PART IV: GRAPHICS.
CHAPTER 30 Drawing Basics.
CHAPTER 31 Brushes, Pens, and Paths.
CHAPTER 32 Text.
CHAPTER 33 Image Processing.
CHAPTER 34 Printing.
PART V: INTERACTING WITH THE ENVIRONMENT.
CHAPTER 35 Confi guration and Resources.
CHAPTER 36 Streams.
CHAPTER 37 File-System Objects.
CHAPTER 38 Windows Communication Foundation.
CHAPTER 39 Useful Namespaces.
PART VI: APPENDIXES.
APPENDIX A Useful Control Properties, Methods, and Events.
APPENDIX B Variable Declarations and Data Types.
APPENDIX C Operators.
APPENDIX D Subroutine and Function Declarations.
APPENDIX E Control Statements.
APPENDIX F Error Handling.
APPENDIX G Windows Forms Controls and Components.
.APPENDIX H WPF Controls.
APPENDIX I Visual Basic Power Packs.
APPENDIX J Form Objects.
APPENDIX K Classes and Structures.
APPENDIX L LINQ.
APPENDIX M Generics.
APPENDIX N Graphics.
APPENDIX O Useful Exception Classes.
APPENDIX P Date and Time Format Specifiers.
APPENDIX Q Other Format Specifiers.
APPENDIX R The Application Class.
APPENDIX S The My Namespace.
APPENDIX T Streams.
APPENDIX U File-System Classes.
APPENDIX V Index of Examples.
|165||Error in Code,MRU LISTS|
Suggests that pressing 2 in Figure 10-9 will reopen file SDIEdit.sln.
Figure 10-9 does not display any reference to file SDIEdit.sln.
This should be MruList.vb
|320||Error in Text,Table (continuation) at top of page: |
Subtraction Operator is printed as 2
Should be -
Calculator Cleverness - box
Second to last sentence:
Instructs the reader to select Scientific from the View menu.
Instruct the reader to select Programmer from the View menu.
(In Windows Vista the command it labeled Scientific. Microsoft may have changed it in different editions.)
|331||Error in Code,SYNTAX result_boolean = Date.op_Equality(date1, date2) |
Indicates: True if date1>date2
Should be: True if date1=date2
|357||Error in Code,For factorial of N is N* (N21) * (N22) ... * 1 |
Should read: factorial of N is N* (N-1) * (N-2) ... * 1
|406||Error in Text,In Stack Trace Objects code example, the last line has a spelling error:|
|482||Error in Text,Second paragraph under Using LINQ Results: |
Indicates that the Select clause in the following code will be bolded.
This is incorrect.
|483||Error in Text,Currently reads: |
...Customer properties area available because...
are instead of area
|484||Error in Text,Fourth paragraph, just above the shaded box:|
Reads: The Group By statement returns...
Should read: The Group Join statement returns...
|486||Error in Text,Third paragraph - the one just after the second code example:|
Reads: ...it displays the group's CustId and the loops through...
Should read: ...it displays the group's CustId and then loops through...
|502||Error in Code,Second code example, In |
Operator is: <=
It should be: >=
|558||Error in Text,Seventh paragraph|
Reads: If you are a logged in as a ...
Should read: If you are logged in as a ...
|614||Error in Text,First paragraph under Declaring Events |
...whenever it needs to notify to the program...
...whenever it needs to notify the program...
|716||Error in Code,The first code example:|
Dim device_rect As New Rectangle(50, 200, 150, -150)
Dim device_rect As New Rectangle(50, 200, 200, -150)
|718||Error in Text,Second to last paragraph|
...ellipse with bounds 10 <= X <= 300, 10 <= Y <= 100,...
...ellipse with bounds 10 <= X <= 300, 10 <= Y <= 10,...
|735||Error in Code,First paragraph below code example|
First sentence reads:
...starting at (9, 10) and ending at (210, 10).
...starting at (10, 10) and ending at (210, 10).
|923||Error in Text,First paragraph under OPTION EXPLICIT AND OPTION STRICT sub-header|
Second sentence reads:
... first time it is encountered if is has not yet...
... first time it is encountered if it has not yet...
|928||Error in Text,First paragraph reads: |
...which can be 2, 8, 10, or 16 to if the string...
...which can be 2, 8, 10, or 16 if the string...
|929||Error in Text,In the last row in the table: |
The example column reads:
&H57 << 1
&H57 >> 1
|937||Error in Code,In the first code example: |
In the second code example, this error reoccurs:
|939||Error in Text,The last sentence on the page |
...and finish with End Sub of End Function.
...and finish with End Sub or End Function.
|943||Error in Code,The first paragraph under the If and IIf sub-header contradicts the following code example.|
It currently reads:
variable = IIf(condition, value_if_false, value_if_true)
It should read:
variable = IIf(condition, value_if_true, value_if_false)
variable = If(condition, value_if_true, value_if_false)
|961||Error in Text,The first paragraph below the table states that Figure G-3's bottom DateTimePicker control's CustomFormat property is set to display the time and abbreviated month etc.|
This was mistakenly included and is not the case. Please ignore this sentence.
|1019||Error in Code,AppG|
The TextBox control doesn't have an AutoSize property, although the Label control does (see page 970).