A Visual Basic Guide

Table of Contents:

Compilation And Execution Of .Net

Database Access Types

1.Programming Concepts

1.1 Assemblies

1.1.1 Assembly Contents

1.1.2 Metadata and Self-Describing Components

1.1.3 Friend Assemblies

1.1.4 Global Assembly Cache

1.2 Asynchronous Programming with Async and Await

1.3 Attributes

1.3.1 Attribute Modifier

1.3.2 Serializable

1.3.3 DllImportAttribute

1.3.4 MarshalAsAttribute

1.3.5 Assembly Identity Attributes

1.3.6 Informational Attributes

1.3.7 Assembly Manifest Attributes

1.3.8 Strong Name Attributes

1.3.9 Obsolete

1.3.10 Conditional

1.3.11 Using Multiple Identifiers

1.3.12 Documentation

1.3.13 Caller Info

1.3.14 Visual Basic

1.3.15 Extension

1.4 Reflection

1.5 Dynamic Language Runtime (DLR) And Expresstion Trees

1.6 Language Integrated Query (LINQ)

1.6.1 Queries

1.6.2 Lambda Expressions

1.7 Object-Oriented Programming

1.7.1 Classes and objects

1.7.2 Scope

1.7.3 Access Levels

1.7.4 Class members

1.7.5 Shared Classes and Members

1.7.6 Partial

1.7.7 Anonymous types

1.7.8 Inheritance

1.7.9 Overriding

1.7.10 Overloading

1.7.11 Interfaces

1.7.12 Generics

1.7.13 Delegates

1.7.14 Predicate(Of T) Delegate

1.7.15 Serialization

1.8 Threading

2.Program Structure and Code

2.1 Error Types

2.1.1 Syntax Errors

2.1.2 Run-Time Errors

2.1.3 Logic Errors

2.2 File-Level Programming Elements

2.2.1 Option statements

2.2.2 Imports Statement

2.2.3 Namespace statements

2.3 Early and Late Binding

2.4 Implicit Line Continuation

2.5 Disposing external resources with Garbage Collector

2.6 Component vs. Control

2.7 Naming Conventions

2.8 Layout Conventions

2.9 Commenting Conventions

2.10 Language Guidelines

2.11 Secure Coding Guidelines

2.12 Commenting Guidelines

2.13 Me, My, MyBase, and MyClass

2.13.1 Me

2.13.2 My

2.13.3 MyBase

2.13.4 MyClass

3.Language Reference

3.1 Runtime Library Members

3.1.1 Runtime Classes

3.1.2 Runtime Enums

3.2 COM Interop

3.2.1 Reference COM Objects

3.2.2 Work with ActiveX Controls

3.2.3 API Calls Using Declare

3.2.4 API Calls Using DllImport

3.3 Directives

3.3.1 #Const

3.3.2 #ExternalSource

3.3.3 #If...Then...#Else

3.3.4 #Region

3.3.5 #Disable, #Enable

3.4 Data Types

3.4.1 Types

3.4.2 Arrays

3.4.3 Erase Statement

3.4.4 Collections

3.4.5 Tuples

3.4.6 Type characters

3.5 Type Conversion

3.5.1 Widening and Narrowing Conversions

3.5.2 Implicit and Explicit Conversions

3.5.3 CType

3.5.4 Type.Parse

3.5.5 System.Convert

3.6 String Functions

3.7 Math

3.7.1 Math Functions

3.7.2 Help

3.8 Operators

3.8.1 Operator Precedence in Visual Basic

3.8.2 Arithmetic Operators

3.8.3 Assignment Operators

3.8.4 Comparison Operators

3.8.5 Logical/Bitwise Operators

3.8.6 Concatenation Operators

3.8.7 Bit Shift Operators

3.8.8 Miscellaneous Operators

3.8.9 DirectCast Operator

3.8.10 TryCast Operator

3.9 Parameter List And Arguments

3.9.1 Passing Arguments

3.10 Declaring Elements

3.10.1 Declare Statement

3.10.2 Dim Statement

3.10.3 Const Statement

3.10.4 Enum Statement

3.10.5 Class Statement

3.10.6 Structure Statement

3.10.7 Module Statement

3.10.8 Interface Statement

3.10.9 Function Statement

3.10.10 Sub Statement

3.10.11 Property Statement

3.10.12 Operator Statement

3.10.13 Event Statement

3.10.14 Delegate Statement

3.11 Control Flow

3.11.1 Decision Structures

3.11.2 Loop Structures

3.11.3 Other Control Structures

3.12 Error Handling

3.12.1 Error Statement

3.12.2 On Error Statement

3.12.3 GoTo Statement

3.13 Statements

3.13.1 Call Statement

3.13.2 SyncLock Statement

3.13.3 Exit Statement

3.13.4 Stop Statement

3.13.5 End Statement

3.13.6 End <keyword> Statement

3.13.7 Resume Statement

3.14 XML Tags for Documentation Comments

3.14.1 <c>

3.14.2 <code>

3.14.3 <example>

3.14.4 <exception>

3.14.5 <include>

3.14.6 <list>

3.14.7 <para>

3.14.8 <param>

3.14.9 <paramref>

3.14.10 <permission>

3.14.11 <remarks>

3.14.12 <returns>

3.14.13 <see>

3.14.14 <seealso>

3.14.15 <summary>

3.14.16 <typeparam>

3.14.17 <value>

3.15 XML

3.15.1 Literals

3.15.2 Axis Properties

3.16 Walkthroughs

Click to Download

Add comment

reload, if the code cannot be seen