Book description
With the release of the Microsoft .NET platform comes a new version of Visual Basic dramatically unlike its predecessors. So extensive are the changes, in fact, that some VB programmers argue that Visual Basic .NET is an entirely new programming language. In the updated second edition of this popular book, you will find complete documentation for the Visual Basic .NET language.
Beginning with a brief overview of the language, VB.NET Language in a Nutshell covers basic programming concepts, and introduces the .NET Framework Class Library and programming with attributes. The bulk of the book consists of an alphabetical reference to Visual Basic .NET statements, procedures, functions, and objects. Each entry has a standardized listing containing the following information:
Its syntax, using standard coding conventions
Differences in the operation of the keyword in Visual Basic .NET and in VB 6.0
A list of arguments accepted by the function or procedure
A description of the data type returned by a function
The finer points of a language element?s usage that are often omitted from or blurred over by other sources
Tips and warnings that include undocumented behaviors and practical applications for particular language elements
An invaluable section for diagnosing or avoiding potential programming problems
A cross-reference to related keywords
On the CD-ROM (included with print edition of the book) is a plug-in that adds a copy of the book's language reference to the dynamic help within Visual Studio .NET. The plug-in requires any edition of Visual Basic .NET or Visual Studio .NET.
No matter how much experience you have programming with VB, you want this book close by, both as a standard reference guide and as a tool for troubleshooting and identifying programming problems.
Table of contents
-
VB.NET Language in a Nutshell, 2nd Edition
- Preface
-
I. The Basics
- 1. Introduction
- 2. Program Structure
- 3. Variables and Data Types
- 4. Introduction to Object-Oriented Programming
- 5. The .NET Framework: General Concepts
- 6. The .NET Framework Class Library
- 7. Delegates and Events
- 8. Attributes
- 9. Error Handling in VB.NET
-
II. Reference
-
10. The Language Reference
- #Const Directive
- #If . . . Then . . . #Else Directive
- #Region...#End Region Directive
- Abs Function
- Acos Function
- AddHandler Statement
- AddressOf Operator
- AppActivate Procedure
- Application Class
- Application.CompanyName Property
- Application.DoEvents Method
- Application.ExecutablePath Property
- Application.ProductName Property
- Application.ProductVersion Property
- Array Class
- Array.BinarySearch Method
- Array.Copy Method
- Array.IndexOf Method
- Array.LastIndexOf Method
- Array.Reverse Method
- Array.Sort Method
- Asc, AscW Functions
- AssemblyVersion Attribute
- Asin Function
- Atan Function
- Atan2 Function
- AttributeUsage Attribute
- Beep Procedure
- Call Statement
- CallByName Function
- CBool Function
- CByte Function
- CChar Function
- CDate Function
- CDbl Function
- CDec Function
- Ceiling Function
- ChDir Procedure
- ChDrive Procedure
- Choose Function
- Chr, ChrW Functions
- CInt Function
- Class Statement
- Clipboard Class
- Clipboard.GetDataObject Method
- Clipboard.SetDataObject Method
- CLng Function
- CLSCompliant Attribute
- CObj Function
- Collection Class
- Collection.Add Method
- Collection.Count Property
- Collection.Item Method
- Collection.Remove Method
- ColorDialog Class
- COMClass Attribute
- Command Function
- Const Statement
- Cos Function
- Cosh Function
- CreateObject Function
- CShort Function
- CSng Function
- CStr Function
- CType Function
- CurDir Function
- DateAdd Function
- DateDiff Function
- DatePart Function
- DateSerial Function
- DateString Property
- DateValue Function
- Day Function
- DDB Function
- Debug Class
- Debug.Assert Method
- Debug.AutoFlush Property
- Debug.Close Method
- Debug.Flush Method
- Debug.Indent Method
- Debug.IndentLevel Property
- Debug.IndentSize Property
- Debug.Listeners Property
- Debug.Unindent Method
- Debug.Write Method
- Debug.WriteIf Method
- Debug.WriteLine Method
- Debug.WriteLineIf Method
- Declare Statement
- DefaultMember Attribute
- Delegate Statement
- DeleteSetting Procedure
- Dim Statement
- Dir Function
- DirectCast Function
- Directory Class
- Directory.CreateDirectory Method
- Directory.Delete Method
- Directory.Exists Method
- Directory.GetCreationTime Method
- Directory.GetDirectories Method
- Directory.GetDirectoryRoot Method
- Directory.GetFiles Method
- Directory.GetFileSystemEntries Method
- Directory.GetLogicalDrives Method
- Directory.GetParent Method
- Directory.Move Method
- Do...Loop Statement
- E Field
- End... Statement
- Enum Statement
- Environ Function
- EOF Function
- Erase Statement
- Erl Property
- Err Object
- Err.Clear Method
- Err.Description Property
- Err.GetException Method
- Err.HelpContext Property
- Err.HelpFile Property
- Err.LastDLLError Property
- Err.Number Property
- Err.Raise Method
- Err.Source Property
- Error Statement
- ErrorToString Function
- Event Statement
- Exception Class
- Exit Statement
- Exp Function
- File Class
- File.Exists Method
- FileAttr Function
- FileClose Procedure
- FileCopy Procedure
- FileDateTime Function
- FileGet, FileGetObject Procedures
- FileLen Function
- FileOpen Procedure
- FilePut, FilePutObject Procedures
- FileWidth Procedure
- Filter Function
- Fix Function
- Flags Attribute
- Floor Function
- FontDialog Class
- For...Next Statement
- For Each...Next Statement
- Format Function
- FormatCurrency, FormatNumber, FormatPercent Functions
- FormatDateTime Function
- FreeFile Function
- Friend Keyword
- Function Statement
- FV Function
- Get Statement
- GetAllSettings Function
- GetAttr Function
- GetChar Function
- GetObject Function
- GetSetting Function
- GetTimer Function
- GetType Operator
- GoTo Statement
- Guid Attribute
- Handles Keyword
- Hashtable Class
- Hashtable.Add Method
- Hashtable.Clear Method
- Hashtable.ContainsKey Method
- Hashtable.ContainsValue Method
- Hashtable.CopyTo Method
- Hashtable.Count Property
- Hashtable.Item Property
- Hashtable.Keys Property
- Hashtable.Remove Method
- Hashtable.Values Property
- Hex Function
- Hour Function
- IDataObject Interface
- IDataObject.GetData Method
- IDataObject.GetDataPresent Method
- IDataObject.GetFormats Method
- IEEERemainder Function
- If...Then...Else Statement
- IIf Function
- Implements Keyword
- Implements Statement
- Imports Statement
- Inherits Statement
- Input Procedure
- InputBox Function
- InputString Function
- InStr Function
- InStrRev Function
- Int Function
- Interface Statement
- IPmt Function
- IRR Function
- Is Operator
- IsArray Function
- IsDate Function
- IsDBNull Function
- IsError Function
- IsNothing Function
- IsNumeric Function
- IsReference Function
- Join Function
- Kill Procedure
- LBound Function
- LCase Function
- Left Function
- Len Function
- Like Operator
- LineInput Function
- Loc Function
- Lock Procedure
- LOF Function
- Log Function
- Log10 Function
- LSet Function
- LTrim Function
- MarshalAs Attribute
- Max Function
- Me Operator
- Mid Function
- Mid Statement
- Min Function
- Minute Function
- MIRR Function
- MkDir Procedure
- Mod Operator
- Module...End Module Statement
- Month Function
- MonthName Function
- MsgBox Function
- MTAThread Attribute
- MyBase Keyword
- MyClass Keyword
- Namespace Statement
- Now Property
- NPer Function
- NPV Function
- Obsolete Attribute
- Oct Function
- On Error Statement
- OpenFileDialog Class
- Option Compare Statement
- Option Explicit Statement
- Option Strict Statement
- Out Attribute
- ParamArray Attribute
- Partition Function
- Pi Field
- Pmt Function
- Pow Function
- PPmt Function
- Print, PrintLine Procedures
- Private Statement
- Property Statement
- Protected Keyword
- Public Statement
- PV Function
- QBColor Function
- Queue Class
- Queue.Clear Method
- Queue.Contains Method
- Queue.CopyTo Method
- Queue.Count Property
- Queue.Dequeue Method
- Queue.Enqueue Method
- Queue.Peek Method
- Queue.ToArray Method
- RaiseEvent Statement
- Randomize Procedure
- Rate Function
- ReDim Statement
- Rem Statement
- RemoveHandler Statement
- Rename Procedure
- Replace Function
- Reset Procedure
- Resume Statement
- Return Statement
- RGB Function
- Right Function
- RmDir Procedure
- Rnd Function
- Round Function
- RSet Function
- RTrim Function
- SaveFileDialog Class
- SaveSetting Procedure
- ScriptEngine Property
- ScriptEngineBuildVersion Property
- ScriptEngineMajorVersion Property
- ScriptEngineMinorVersion Property
- Second Function
- Seek Function
- Seek Procedure
- Select Case Statement
- Send, SendWait Methods
- Set Statement
- SetAttr Procedure
- Shadows Keyword
- Shell Function
- Sign Function
- Sin Function
- Sinh Function
- SLN Function
- Space Function
- Spc Function
- Split Function
- Sqrt Function
- Stack Class
- Stack.Clear Method
- Stack.Contains Method
- Stack.CopyTo Method
- Stack.Count Property
- Stack.Peek Method
- Stack.Pop Method
- Stack.Push Method
- Stack.ToArray Method
- STAThread Attribute
- Static Statement
- Stop Statement
- Str Function
- StrComp Function
- StrConv Function
- StrDup Function
- StrReverse Function
- Structure...End Structure Statement
- Sub Statement
- Switch Function
- SYD Function
- SyncLock Statement
- SystemTypeName Function
- Tab Function
- Tan Function
- Tanh Function
- ThreadStatic Attribute
- Throw Statement
- TimeOfDay Property
- Timer Property
- TimeSerial Function
- TimeString Property
- TimeValue Function
- Today Property
- Trim Function
- Try...Catch...Finally Statement
- TypeName Function
- UBound Function
- UCase Function
- Unlock Procedure
- Val Function
- ValDec Function
- VarType Function
- VBFixedArray Attribute
- VBFixedString Attribute
- VbTypeName Function
- WebMethod Attribute
- WebService Attribute
- Weekday Function
- WeekdayName Function
- While...End While Statement
- With Statement
- WithEvents Keyword
- Write Procedure
- WriteLine Procedure
- Year Function
-
10. The Language Reference
-
III. Appendixes
- A. What’s New and Different in VB.NET
-
B. Language Elements by Category
- Array Handling
- Clipboard
- Collection Objects
- Common Dialogs
- Conditional Compilation
- Conversion
- Date and Time
- Debugging
- Declaration
- Error Handling
- Filesystem
- Financial
- IDataObject Interface
- Information
- Input/Output
- Integrated Development Environment
- Interaction
- Mathematics
- Program Structure and Flow
- Programming
- Registry
- String Manipulation
- C. Operators
-
D. Constants and Enumerations
- Visual Basic Intrinsic Constants
- ControlChars Class
-
Visual Basic Enumerations
- AppWinStyle Enumeration
- CallType Enumeration
- CompareMethod Enumeration
- DateFormat Enumeration
- DateInterval Enumeration
- DueDate Enumeration
- FileAttribute Enumeration
- FirstDayOfWeek Enumeration
- FirstWeekOfYear Enumeration
- MsgBoxResult Enumeration
- MsgBoxStyle Enumeration
- OpenAccess Enumeration
- OpenMode Enumeration
- OpenModeTypes Enumeration
- OpenShare Enumeration
- TriState Enumeration
- VariantType Enumeration
- VbStrConv Enumeration
- E. The VB.NET Command-Line Compiler
- F. VB 6 Language Elements Not Supported by VB.NET
- Index
- Colophon
Product information
- Title: VB.NET Language in a Nutshell, Second Edition
- Author(s):
- Release date: April 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003081
You might also like
book
VB .NET Language in a Nutshell
The extensive changes to Visual Basic and the newness of the .NET platform call for a …
book
C# in a Nutshell, Second Edition
C# in a Nutshell provides C# programmers with a concise and thorough reference to the language …
book
VB & VBA in a Nutshell: The Language
The online documentation of VB/VBA language components seems to follow the 80/20 rule: the basic facts …
book
Programming Visual Basic .NET, Second Edition
Programming Visual Basic .NET, Second Edition is the complete guide to application development using Visual Basic …