Book description
The extensive changes to Visual Basic and the newness of the .NET platform call for a VB .NET reference guide oriented toward professional developers--those deeply experienced in Visual Basic and those adding VB .NET to their list of mastered languages. VB .NET Language in a Nutshell answers the call. As a reference book, it doesn't waste space on simple concepts, but documents, using practical examples, how language elements work, alternative approaches, optimal usage, and potential pitfalls. As a quick introduction, the first section of VB .NET Language in a Nutshell leads you through the important areas of programming VB .NET, including:
Variables and Data Types
Introduction to Object Oriented Programming
The .NET Framework: General Concepts
The .NET Framework Class Library
Delegates and Events
Error Handling
What's New and Different in VB .NET
Language Elements by category
Operators
Constants and Enumerations
The VB .NET Command Line Compiler
VB 6 Language Elements Not Supported by VB .NET
The meat of the book is the alphabetical reference to the functions, statements, directives, objects, and object members that make up the VB .NET language. As an experienced developer, you can quickly get the whole story on a language element that interests you or seems to be behaving unexpectedly in your code. To ease your transition to .NET, there's a "VB .NET/VB 6 Differences" section for each language element. A hefty appendix section includes:
No matter how much experience you have programming with VB, this is the kind of book you'll want to have close by, both as your standard reference guide and as a tool for troubleshooting and identifying programming problems.
Table of contents
-
VB .NET Language in a Nutshell
- Preface
-
I. The Basics
- 1. Introduction
- 2. Variables and Data Types
- 3. Introduction to Object-Oriented Programming
- 4. The .NET Framework: General Concepts
- 5. The .NET Framework Class Library
- 6. Delegates and Events
- 7. Error Handling in VB .NET
-
II. Reference
-
8. 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
- Asin Function
- Atan Function
- Atan2 Function
- 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
- CObj Function
- Collection Class
- Collection.Add Method
- Collection.Count Property
- Collection.Item Method
- Collection.Remove Method
- ColorDialog Class
- 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
- Delegate Statement
- DeleteSetting Procedure
- Dim Statement
- Dir 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
- 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
- GoTo Statement
- 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
- LTrim Function
- 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
- MyBase Keyword
- MyClass Keyword
- Namespace Statement
- Now Property
- NPer Function
- NPV Function
- Oct Function
- On Error Statement
- OpenFileDialog Class
- Option Compare Statement
- Option Explicit Statement
- Option Strict Statement
- 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
- Rename Procedure
- Replace Function
- Reset Procedure
- Resume Statement
- Return Statement
- RGB Function
- Right Function
- RmDir Procedure
- Rnd Function
- Round Function
- RTrim Function
- SaveFileDialog Class
- SaveSetting Procedure
- ScriptEngine Function
- ScriptEngineBuildVersion Function
- ScriptEngineMajorVersion Function
- ScriptEngineMinorVersion Function
- 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
- 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
- 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
- VbTypeName Function
- Weekday Function
- WeekdayName Function
- While...End While Statement
- With Statement
- WithEvents Keyword
- Write Procedure
- WriteLine Procedure
- Year Function
-
8. 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
- PrintFlags 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
- Author(s):
- Release date: August 2001
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596000929
You might also like
book
VB.NET Language in a Nutshell, Second Edition
With the release of the Microsoft .NET platform comes a new version of Visual Basic dramatically …
book
COM+ Programming with Visual Basic
The importance of a book like COM+ Programming with Visual Basic lies in the fact that …
book
Real World XML Web Services: For VB and VB .NET Developers
"You are holding in your hands my favorite book on Web services and .NET. What else …
book
Migrating to .NET: A Pragmatic Path to Visual Basic .NET, Visual C++ .NET, and ASP.NET
Find out how to migrate your legacy software to the powerful Microsoft .NET framework Provides for …