Visual Basic Sitemap - Page 2 2016-09-26

Debugging in Visual Basic .NET (DEBUG and TRACE)
Debugging in VB.NET usually means using the Debug icons to single-step your program and maybe a few breakpoints. But there are a lot of little known things about debugging. This quick tip shows just a few of the more useful ones.

Guide to Using Extension Methods in VB.NET
A normal class has to be instantiated as an object before the methods in it can be used. But if a method is shared, then the class it's in doesn't have to be instantiated and the method can be used directly. What if you need both? Then you need a feature introduced in VB.NET 2008 called extension methods. This article tells you how that works.

Class Modifiers in VB.NET - a Reference Guide
A reference guide to the class modifiers that you can code in your VB.NET program

Assemblies and the .NET Framework
The assembly is the fundamental unit of code in .NET. Learn what the concept is and how an assembly is used in your NET system.

Using ClickOnce Deployment in VB.NET
An introduction to the ClickOnce (Publish) deployment tool in VB.NET, based on VB.NET 2008 and shows how to deploy an application using ClickOnce.

Using ClickOnce Deployment in VB.NET
An introduction to the ClickOnce (Publish) deployment tool in VB.NET, based on VB.NET 2008 and shows how to deploy an application using ClickOnce. Page 2.

VB.NET- Creating A Setting Bound to a Form
VB.NET gives you a great new way to save application settings like connection strings or size and color by application or by user. The methods used in VB.NET are different than the ones in VB.NET 1.1 and other .NET languages such as C#. But technical articles I have read and even on Microsoft's own pages make mistakes. The goal of this article is to clear up as much confusion as possible, but some remaining problems are documented in it as well. Page 2.

Application Settings in VB.NET - Clearing Up Confusion
VB.NET gives you a great new way to save application settings like connection strings or size and color by application or by user. The methods used in VB.NET are different than the ones in VB.NET 1.1 and other .NET languages such as C#. But technical articles I have read and even on Microsoft's own pages make mistakes. The goal of this article is to clear up as much confusion as possible, but some remaining problems are documented in it as well.

Application Settings in VB.NET - Create Application Settings
VB.NET gives you a great new way to save application settings like connection strings or size and color by application or by user. The methods used in VB.NET are different than the ones in VB.NET 1.1 and other .NET languages such as C#. But technical articles I have read and even on Microsoft's own pages make mistakes. The goal of this article is to clear up as much confusion as possible, but some remaining problems are documented in it as well. Page 3.

NaN, Infinity, and Divide by Zero in VB.NET
Learn how to handle division by zero using VB.NET's structured error handling, as well as understand the new VB.NET constants: NaN, Infinity and Epsilon.

Resizing a Font in VB.NET Using WPF and ScaleTransform
A reader wanted to dynamically resize a font in VB.NET. There are several ways to go about it. This article considers using the ScaleTransform method of the Graphics object, WPF and shows how to declare a new font object for the control.

VB.NET ErrorProvider in Windows Forms
The Windows Forms libraries in Visual Basic .NET includes a number of convenient provider components. One of these is the ErrorProvider component that pops up an icon to tell the user that something is wrong when your program is validating user input. This Quick Tip tells you how to use it.

Using Namespaces in VB.NET
Namespaces keep Visual Basic .NET organized. .NET by itself is huge and the names of individual software objects frequently overlap. Add in the code that all of the .NET programmers write and you have a giant pot of names that would be chaos if there wasn't a way to organize it and keep one software object from interfering with another. The way it's done is namespaces. This article explains what they are and how to use them.

Using Namespaces - Namespaces keep VB.NET organized
Namespaces keep Visual Basic .NET organized. .NET by itself is huge and the names of individual software objects frequently overlap. Add in the code that all of the .NET programmers write and you have a giant pot of names that would be chaos if there wasn't a way to organize it and keep one software object from interfering with another. The way it's done is namespaces. This article explains what they are and how to use them. Page 2.

Using LINQ to the SQL Server in VB.NET
One way to classify the innovations introduced with LINQ - Language INtegrated Query - is by all of the datastores supported by Microsoft. One of the first datastores people want to use is SQL where the datastore is a SQL Server database. This article shows how to get started using database code that is a compiled part of your VB.NET program.

What a Nullable Type Is & How to Use It (VB.NET 2008)
In .NET 2.0, value types, such as Integer or Boolean, gained the ability to be. Page 2.

What a Nullable Type Is and How to Use It
In .NET 2.0, value types, such as Integer or Boolean, gained the ability to be

VB.NET and Recursion - How to Avoid Running Out of Memory
Recursion is a valuable programming technique and when a programming problem requires this technique, nothing else quite works. But there is a hidden trap in recursion that you need to know about: It can eat memory resources like nothing else. This Quick Tip explains it.

Use CreateShortcut in VBScript to Manage Desktop
A really fast Quick Tip about a very useful object that you can use in VBScript - Visual Basic Script - to manage your desktop; the CreateShortcut object.

Using Arrays and Collections in VB.NET
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.

Using Arrays and Collections in VB.NET
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.

Using Arrays and Collections in VB.NET
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.

Using Arrays and Collections in VB.NET
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.

Using Arrays and Collections in VB.NET
Step by Step instructions show how to use Arrays and Collections to Manage Data in VB.NET. The differences between arrays and collections are explained. This Step by Step article is suitable for beginners.

Filter Function - String Processing in VB.NET
Strings may be the second most useful

Introducing Data Binding in WPF and XAML in a Visual Basic .NET Context
Data binding is an important use of markup extensions in WPF (Windows Presentation Foundation) XAML. This article is a basic introduction to how to code bindings in a Visual Basic context.

Introducing Data Binding in WPF and XAML in a Visual Basic .NET Context
Data binding is an important use of markup extensions in WPF (Windows Presentation Foundation) XAML. This article is a basic introduction to how to code bindings in a Visual Basic context. Page 2.

Learning WPF 2D Graphics with Visual Basic Programming
For many years, GDI+ has been the graphic foundation of Microsoft technology. Today, there's a new technology, WPF - Windows Presentation Foundation. WPF is usually thought of as a replacement for Windows Forms, but there's actually a powerful graphics part of it that also replaces GDI+. This article explains it.

Learning WPF 2D Graphics with Visual Basic Programming
For many years, GDI+ has been the graphic foundation of Microsoft technology. Today, there's a new technology, WPF - Windows Presentation Foundation. WPF is usually thought of as a replacement for Windows Forms, but there's actually a powerful graphics part of it that also replaces GDI+. This article explains it. Page 2.

Learning WPF 2D Graphics with Visual Basic Programming
For many years, GDI+ has been the graphic foundation of Microsoft technology. Today, there's a new technology, WPF - Windows Presentation Foundation. WPF is usually thought of as a replacement for Windows Forms, but there's actually a powerful graphics part of it that also replaces GDI+. This article explains it. Page 3.

WPF User Control VB.NET
WPF User Controls are just one of several things called

WPF User Control VB.NET
WPF User Controls are just one of several things called

WPF User Control VB.NET
WPF User Controls are just one of several things called

Fixing the InputBox Cancel Button Problem
A reader asked for help using InputBox to code a loop to input data to a ListBox control. The InputBox is a VB6 holdover function that probably shouldn't be used. Another article that is linked in this one shows why and what to do instead. But this article shows how to use unmanaged code to solve one problem with the InputBox: You can't tell the difference between blank input and the Cancel button.

Using the CopyFile Object to Show a Progress Bar
Learn how to show a progress file while copying a file using VB.NET 2008, along with examples of the OpenFileDialog and the FolderBrowserDialog.

Friend and Protected Friend in VB.NET
Visual Basic .NET is completely OOP (Object Oriented Programming) because it supports inheritance, the major thing that previous versions of Visual Basic did not support. And because it supports inheritance, it also has two new access modifiers: Friend and Protected Friend. This Quick Tip introduces them to you.

Using the ToString Method in a Visual Basic .NET
The ToString method is one of the fundamental methods in the root of the entire .NET Framework. That makes it available in every other object. This quick tip shows some of the ways ToString can be used.

Using Shared Access in Visual Basic .NET
When you instantiate, that is, Visual Basic.

Drag and Drop - VB.NET Programming Guide
Drag and Drop can be programmed relatively easily in VB.NET, but it doesn't work unless all the components involved work together.

What does MyClass Mean in VB.NET compared to Me and MyBase
MyClass isn't seen nearly as often in code as the more common Me and MyBase keywords. In fact, most programmers may not even be aware how how it's used. This Quick Tip explains MyClass and compares it to Me and MyBase.

Printing with VB.NET using Print commands from the VB6 era
There are two different Print statements that date from the DOS era. A question from a reader motivated me to look into them.

The New Constructor and Inheritance
The New constructor is a special method. It's special because it doesn't follow all of the normal rules of VB.NET methods. In particular, it's different when a class is inherited. This Quick Tip shows what that difference i

Raising Inherited Events
When a class contains an event that you want to raise using the RaiseEvent keyword in an inherited class, you can have a problem. VB.NET doesn't allow you to raise the event directly. This Quick Tip tells you how to do it indirectly.

The Abstract Base Class in Visual Basic .NET
VB.NET fully supports what is called an

Strong Type Explained With Examples
The description

Unblock Downloaded Zip Files
Downloaded source code files are normally blocked. That means that a bit tells programs such as Visual Studio that the files have not been authenticated and might contain something dangerous. Usually, this is just an irritation because you actually do know what is in the files. This Quick Tip shows how to unblock the files while unzipping them so you don't have this problem.

TreeView Class Programming in ASP.NET and Visual Basic .NET
The TreeView class can be one of the most useful ways to organize information visually of any in VB.NET. You see it constantly on web pages, especially at Microsoft. The first article in this series covered the Windows forms version of TreeView. This article explains how to use a TreeView in ASP.NET.

The .NET Framework Tools - How to work with the .NET Framework NGEN utility
Microsoft supplies an array of tools and utilities that you need when you go beyond simple applications. These utilities include ILDASM (and ILASM), NGEN, GACUTIL, AL, VBC, and SN. This article is about the NGEN utility - the Native Image Generator - and is part of a series.

Shared Variables in VB.NET
Most programmers know about shared methods and properties in VB.NET. Not as many know about shared variables, but this relatively obscure use of Share can add power to your coding toolkit as well. This article is a companion to an earlier article on the creative use of the Share keyword.

Shared Events in VB.NET
Most programmers know about shared methods and properties in VB.NET. Shared events are a fairly rare item in code, however. They're primarily useful when you have a parameterized constructor that must raise an event but inventive minds can probably find other uses too. This article is a companion to an earlier article on the creative use of the Share keyword.

Overloads in VB.NET
Shadows, Overloads and Overrides redefine an inherited element. But there are confusing and potentially critical differences. This is the

The Factory Design Pattern
Design Patterns deal with the fundamental techniques of how and why you write code in a certain way. This article is one of a series that explains the popular design patterns using the syntax of Visual Basic - VB.NET. The subject of this article is the Factory design pattern.

The Double Linked List in Visual Basic .NET
The linked list is one of the foundation concepts of programming and it's supported directly by VB.NET language elements. But you can code one

Option Infer - A VB.NET Language Option for LINQ
Option Infer is a compile option that was introduced specifically for LINQ with Framework 3.5/VB.NET 2008. It's just a little more complicated than the other compile options. (Option Strict, Option Explicit and Option Compare). This article explains what it's all about.

Advanced VB.NET Custom Controls Using Inheritance
This article shows more advanced ways to create custom controls in VB.NET, and demonstrates how to override a method in an inherited control. A more basic article showing how to get started using Inheritance to build custom controls is referenced in the article.

Threading - Thread Communication and Events
By their very nature, threads execute independently. Once a thread is started, it will proceed without regard for what any other thread is doing by default. Sometimes this works, but often you need the ability for one thread to let another one know how things are progressing. This article, one in a series on Visual Basic .NET and threading, introduces the techniques used to do this.

Threading - Using the ThreadPool Class
Using threads from the ThreadPool namespace makes your app perform better. This article explains and expands an example from Microsoft.

A Simple VB.NET Program Simulation Model
Curiosity made me write this program to see what would happen with a specific set of economic assumptions. If you wonder how mathematical models work, this article shows a very simple example in VB.NET.

LINQ to DataSet - Using Language Integrated Query with ADO.NET DataSets
Microsoft's LINQ (Language Integrated Query) technology is designed to work with any data store, but LINQ to SQL (introduced in a different Visual Basic About.com article) only works with SQL Server. To make LINQ work with the rest, LINQ to DataSet works with the rest. This article explains how to make that work.

LINQ to Entities - LINQ Using the Entity Framework
Working with databases inside application code has always been a problem, mainly because there are lots of different databases (with different interface requirements) and because the data in databases just doesn't match the way data is represented in application code. One of the ways of dealing with this problem is to create a new way to represent the data that is application code friendly. That's the Entity Framework. Microsoft's LINQ (Language Integrated Query) technology is designed to work with any data store, so it also works with the Entity Framework. This article explains how.

LINQ to Objects - Collections, the LINQ Way
LINQ to Objects was misnamed by Microsoft. It should really be LINQ to Collections, but somebody probably decided that didn't have the right marketing feel to it. Another way to think of it is

Learn how to use VB.NET in Visual Studio.NET
Learn about using VB.NET with the new .NET version of Visual Studio with structured tutorials available at the About Visual Basic site.

Tutorials demonstrate how to use ADO.NET with VB.NET
Find tutorials that show you how to use the XML focused ADO.NET, Microsoft's new .NET technology for Data.

Independent reviews of Visual Basic programming and technical books
Independent reviews of Visual Basic technical and programming books. All of the Visual Basic technologies are covered from Visual Basic 6 to VB.NET including hot topics such as ADO.NET, Visual Studio .NET, and ASP.NET.

Learn VB.NET programming including ASP.NET, ADO.NET, and VS.NET.
Free structured tutorials that take you step by step through Visual Basic .NET from creating standalone applications using Visual Studio .NET to ADO.NET. Courses and training for ASP.NET (Active Server Pages) and VB.NET and the latest versions of key Office systems like Word and Excel.

Programming Visual Basic Quick Tips for Programmers
Need a fast answer to a specific question? Here's a collection of past answers to Visual Basic programming questions that might have your answer.

VB6 Support Resources at Microsoft
VB6 is dead. Long live VB6. Believe it or not, Microsoft actually still supports it. And I mean, more than just supporting VBA and the use of COM components. Real Support! This article, updated in 2010, tells you what the new, NEW Microsoft support is.

VB6 Support Resources at Microsoft
VB6 is dead. Long live VB6. Believe it or not, Microsoft actually still supports it. And I mean, more than just supporting VBA and the use of COM components. Real Support! This article, updated in 2010, tells you what the new, NEW Microsoft support is. Page 2.

Introduction to VBA in Word for Office 2007
Microsoft decided to change just about everything in Office 2007 and VBA - Visual Basic for Applications - wasn't spared. This article covers how to get started programming VBA macros using the Office application Word 2007.

Introduction to VBA in Word for Office 2007
Microsoft decided to change just about everything in Office 2007 and VBA - Visual Basic for Applications - wasn't spared. This article covers how to get started programming VBA macros using the Office application Word 2007. Page 2.

Introduction to VBA in Word for Office 2007
Microsoft decided to change just about everything in Office 2007 and VBA - Visual Basic for Applications - wasn't spared. This article covers how to get started programming VBA macros using the Office application Word 2007. Page 3.

Jabaco Compiler - Use Jabaco to Write VB 6 for the Java Platform
When Microsoft threw VB6 developers to the wolves, one developer decided to do something about it. Manuel Siekmann, a developer in Germany, decided to give other developers a way of compiling VB6 'style' code into Java. That way, you can run on any platform that supports Java such as Linux, you can code in a language that is very much like VB6, and you don't have to play Microsoft's .NET game. That last factor may be the best of all for some developers.

Pixel Replaces Twips in VB.NET
VB.NET upgrades the way screen forms are measured from the virtually unknown twips to the almost universal pixel.

VBScript Tutorial 3
VBScript is a version of the BASIC programming language designed for the Command Prompt. This is Part 3 of the VBScript tutorial. In Part 3, a first program using the Windows Scripting Host (WSH) hosting environment is coded. If you're interested in trying out programming, you can start with this

Procedures in VB.NET
There are many different ways to simply call a procedure - a subroutine or a function - in Visual Basic .NET. There are new keywords like ParamArray and new concepts like overloading that has been borrowed from other languages. This article explores the complete spectrum of possibilities.

Procedures in VB.NET
There are many different ways to simply call a procedure - a subroutine or a function - in Visual Basic .NET. There are new keywords like ParamArray and new concepts like overloading that has been borrowed from other languages. This article explores the complete spectrum of possibilities. Page 2.

Procedures in VB.NET
There are many different ways to simply call a procedure - a subroutine or a function - in Visual Basic .NET. There are new keywords like ParamArray and new concepts like overloading that has been borrowed from other languages. This article explores the complete spectrum of possibilities. Page 3.

Introducing Application Resources in WPF and XAML in a Visual Basic .NET context
Application resources are one of the many types of markup extensions available in WPF (Windows Presentation Foundation) XAML. This article is a basic introduction to what they are and how to use them in a Visual Basic context.

Introducing Application Resources in WPF and XAML in a Visual Basic .NET context
Application resources are one of the many types of markup extensions available in WPF (Windows Presentation Foundation) XAML. This article is a basic introduction to what they are and how to use them in a Visual Basic context. Page 3.

Introducing Application Resources in WPF and XAML in a Visual Basic .NET context
Application resources are one of the many types of markup extensions available in WPF (Windows Presentation Foundation) XAML. This article is a basic introduction to what they are and how to use them in a Visual Basic context. Page 2.

Word VBA - Check FormDropDown Results in a Word VBA Macro
A quick answer to an About Visual Basic reader showing how to code a Word VBA program to score a test using the results of FORMDROPDOWN field codes embedded in the document.

Using VBA: Calculate Line Items in an Word Invoice
A short, quick article that demonstrates how to access cell values and calculate in a Word document table using Word VBA.

Boolean Algebra and Logical Expressions for Visual Basic Programmers
Complex logical expressions are not often required in Visual Basic programs, but when they are, it can be really difficult to get them right. This article is a practial (not theoretical) guide to the most popular and useful techniques such as Boolean Algebra, truth tables and Karnaugh maps.

Boolean Algebra and Logical Expressions for Visual Basic Programmers
Complex logical expressions are not often required in Visual Basic programs, but when they are, it can be really difficult to get them right. This article is a practial (not theoretical) guide to the most popular and useful techniques such as Boolean Algebra, truth tables and Karnaugh maps. Page 2.

A LINQ Example Program for XML in Visual Basic .NET
Microsoft's LINQ technology combined with XML can revolutionize the way you program, but it's difficult to make the transition from more traditional ways of programming to LINQ. Moving to XML can be a challenge too. A reader asked for help programming a system to generate random test questions. Since it seemed like an ideal way to showcase LINQ, I wrote most of the code as a programming example.

A LINQ Example Program for XML in Visual Basic .NET
Microsoft's LINQ technology combined with XML can revolutionize the way you program, but it's difficult to make the transition from more traditional ways of programming to LINQ. Moving to XML can be a challenge too. A reader asked for help programming a system to generate random test questions. Since it seemed like an ideal way to showcase LINQ, I wrote most of the code as a programming example. Page 2.

A LINQ Example Program for XML in Visual Basic .NET
Microsoft's LINQ technology combined with XML can revolutionize the way you program, but it's difficult to make the transition from more traditional ways of programming to LINQ. Moving to XML can be a challenge too. A reader asked for help programming a system to generate random test questions. Since it seemed like an ideal way to showcase LINQ, I wrote most of the code as a programming example. Page 3.

Random Array of Unique Integers For Dealing Cards in Games
A random array of unique integers is a requirement for most card games and for many other applications as well. This program shows you two ways to create a random array of unique integers, and also shows how they perform with graphical results using the StopWatch object. Another method using collections and a Lambda expression can be found in a followup article linked in this one.

.NET - COM Interoperability in Visual Basic
There are still plenty of reasons to use COM, the Component Object Model architecture that was the heart of Microsoft's technology back in VB6 days. This is the second article in a series. The first walks through a program that updates an Excel 2007 spreadsheet using Visual Basic .NET 2008 Express. This article shows how to go the other way and access a .NET Linq object from a VB6 program.

.NET - COM Interoperability in Visual Basic
There are still plenty of reasons to use COM, the Component Object Model architecture that was the heart of Microsoft's technology back in VB6 days. This is the second article in a series. The first walks through a program that updates an Excel 2007 spreadsheet using Visual Basic .NET 2008 Express. This article shows how to go the other way and access a .NET Linq object from a VB6 program. Page 2.

.NET - COM Interoperability in Visual Basic
There are still plenty of reasons to use COM, the Component Object Model architecture that was the heart of Microsoft's technology back in VB6 days. This is the second article in a series. The first walks through a program that updates an Excel 2007 spreadsheet using Visual Basic .NET 2008 Express. This article shows how to go the other way and access a .NET Linq object from a VB6 program. Page 3.

.NET - COM Interoperability in Visual Basic
There are still plenty of reasons to use COM, the Component Object Model architecture that was the heart of Microsoft's technology back in VB6 days. This is the second article in a series. The first walks through a program that updates an Excel 2007 spreadsheet using Visual Basic .NET 2008 Express. This article shows how to go the other way and access a .NET Linq object from a VB6 program. Page 4.

Contextmenustrip - Learn About the ContextMenuStrip Visual Basic Control
The ContextMenuStrip Visual Basic control is a little known example of the new generation of controls available in Visual Basic .NET. This article is a complete explanation to help you learn to use it.

GDI+ Graphics in Visual Basic 2005 .NET
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic 2005 .NET. This article is part 2 of a complete introduction for programmers. In this article,

GDI+ Graphics in Visual Basic 2005 .NET
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic 2005 .NET. This article is part 2 of a complete introduction for programmers. In this article,

GDI+ Graphics in Visual Basic 2005 .NET
GDI+ is the way to draw shapes, fonts, images or generally anything graphic in Visual Basic 2005 .NET. This article is part 2 of a complete introduction for programmers. In this article,

Globalization in Visual Basic .NET
How to display values using localization and customized culture settings using Visual Basic .NET.

Globalization in Visual Basic .NET
How to display values using localization and customized culture settings using Visual Basic .NET. Page 2.

The If Operator In Visual Basic .NET
The If operator has two new forms in Visual Basic .NET. They're related to the IIF function that has been in VB.NET all along, but they add an interesting twist to make your code simpler and more bulletproof.

When Form.Load isn't enough
Most Windows applications use Form.Load for initialization code, such as setting the starting value of variables or perhaps downloading starting values from a database. But what if your program needs more control? You might want to put all of your intialization code in a different module for security reasons, for example. This article shows you how to code your own Main routine which can then turn control over to a startup form ... or code something else.

Beginning Lambda Expressions - An Intro to Lamda in VB.NET
Lambda expressions were introduced in VB.NET 2008/Framework 3.5 and they have a reputation as being really difficult, partly because of the name. In fact, getting started with lamda expressions is really easy. This article shows you what they are.

Coding New Instances of Objects
The concept of an object

Printing in Visual Basic .NET
Printing in Visual Basic .NET

Printing in Visual Basic .NET
Printing in Visual Basic .NET. Page 2.

Setup Project Deployment in VB.NET 2005 - Part I
Setup Project Deployment in VB.NET 2005 - Part I

Setup Project Deployment in VB.NET 2005 - Part I
Setup Project Deployment in VB.NET 2005 - Part I. Page 2.

Setup Project Deployment in VB.NET 2005 - Part I
Setup Project Deployment in VB.NET 2005 - Part I. Page 3.

Simple File Processing and VB.NET
There are a lot of ways to process simple files in VB.NET. The problem is that there are too many, and most references drown you with detail about all of the features of just one specific way. This article takes a different approach. All of the ways to do simple file processing are presented at a summary level so you can see what's available and take your pick. The methods presented range from legacy objects like LineInput to serialization, TextFieldParser, and LINQ to XML.

Simple File Processing and VB.NET
There are a lot of ways to process simple files in VB.NET. The problem is that there are too many, and most references drown you with detail about all of the features of just one specific way. This article takes a different approach. All of the ways to do simple file processing are presented at a summary level so you can see what's available and take your pick. The methods presented range from legacy objects like LineInput to serialization, TextFieldParser, and LINQ to XML. Page 2.

Simple File Processing and VB.NET
There are a lot of ways to process simple files in VB.NET. The problem is that there are too many, and most references drown you with detail about all of the features of just one specific way. This article takes a different approach. All of the ways to do simple file processing are presented at a summary level so you can see what's available and take your pick. The methods presented range from legacy objects like LineInput to serialization, TextFieldParser, and LINQ to XML. Page 3.

Simple File Processing and VB.NET
There are a lot of ways to process simple files in VB.NET. The problem is that there are too many, and most references drown you with detail about all of the features of just one specific way. This article takes a different approach. All of the ways to do simple file processing are presented at a summary level so you can see what's available and take your pick. The methods presented range from legacy objects like LineInput to serialization, TextFieldParser, and LINQ to XML. Page 4.

Simple File Processing and VB.NET
There are a lot of ways to process simple files in VB.NET. The problem is that there are too many, and most references drown you with detail about all of the features of just one specific way. This article takes a different approach. All of the ways to do simple file processing are presented at a summary level so you can see what's available and take your pick. The methods presented range from legacy objects like LineInput to serialization, TextFieldParser, and LINQ to XML. Page 5.

How To Use (And Create) Code Snippets - Part I
Using Intellisense Code Snippets - Intellisense Code Snippets are ready-made chunks of code that you can quickly plug into your Visual Basic projects. But they're much more than just code. Visual Basic 2005 includes over 500 code snippets but you can create your own. This article shows you how to do all of this and more!

How To Use (And Create) Code Snippets - Part I
Using Intellisense Code Snippets - Intellisense Code Snippets are ready-made chunks of code that you can quickly plug into your Visual Basic projects. But they're much more than just code. Visual Basic 2005 includes over 500 code snippets but you can create your own. This article shows you how to do all of this and more! Page 2.

Visual Basic Compiler Directives
Visual Basic Directives are the other Visual Basic. It's just a two-statement language, but you can use to

Visual Basic Compiler Directives
Visual Basic Directives are the other Visual Basic. It's just a two-statement language, but you can use to

WPF Tutorial Part 6: A First Introduction to WPF and XAML for Visual Basic Programmers
An introduction for VB programmers to WPF - Windows Presentation Foundation - and XAML - Extensible Application Markup Language - can be found in part 1 of this series. WPF requires a fundamental understanding of multithreading. Part 6 of the series introduces the important concept of multithreading by showing how to solve the problem of the error message,

WPF Tutorial Part 6: A First Introduction to WPF and XAML for Visual Basic Programmers
An introduction for VB programmers to WPF - Windows Presentation Foundation - and XAML - Extensible Application Markup Language - can be found in part 1 of this series. WPF requires a fundamental understanding of multithreading. Part 6 of the series introduces the important concept of multithreading by showing how to solve the problem of the error message,

Debugging a Web Service
Debug a Web Service. Visual Basic.

Coding a Menu Using WPF, XAML, and User Controls in Visual Basic .NET
Menus are central to most user interfaces these days, so there has to be a way of coding them in WPF and XAML. But since Menus are also a composite kind of thing, there are always a few unique methods involved in creating them. In this example, we use a WPF

Coding a Menu Using WPF, XAML, and User Controls in Visual Basic .NET
Menus are central to most user interfaces these days, so there has to be a way of coding them in WPF and XAML. But since Menus are also a composite kind of thing, there are always a few unique methods involved in creating them. In this example, we use a WPF

ASP.NET Session State
The entire web is inherently

Global.asax use in ASP.NET websites
The Global.asax file is used to execute code that isn't triggered by any specific event in any control, but rather depends on an event for the entire web application or session. This Hub Site article has more detail about what's in it and how it's used. The ASP.NET Hub is an expanding collection of articles to explain how to develop Visual Basic ASP.NET systems.

The Chart Control in Visual Basic 2010 and ASP.NET 4.0
ASP.NET 4.0 has added the Chart control as a standard feature. It was available in ASP.NET 3.5 as a download. Writing the code for the charts themselves is reasonably complex, mainly because charts are reasonably complex. But the question that pops up most often isn't about the coding the charts. It's about how to make the Chart control work in the first place. That's what this article is about.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression. Page 5.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression. Page 6.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression. Page 7.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression. Page 2.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression. Page 3.

Using Regular Expressions in ASP.NET
An explanation of how to use the RegularExpressionValidator control in ASP.NET including an example of how to code a regular expression and how to add client side script validation using the regular expression. Page 4.

VB.NET Books for Beginners
The VB.NET Books that don't assume much previous knowledge

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 2.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 3.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 4.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 5.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 6.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 7.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1. Page 8.

Public Class Variables versus Properties in VB.NET
A property of an object can be coded in the class that defines the object as either a Property or a Public variable in the class. This Quick Tip tells you when to do which one. If your New constructor isn't working and you can't figure out why, this tip also documents a bug that might explain the problem.

Persisting Values When A Windows Form Is Closed
Item values in a ListBox control are lost when the Form they are in is closed. This Quick Tip shows two ways to persist them so the Form can be closed and reopened without losing the values.

Parse - The Opposite of ToString in VB.NET
The function of the static method Parse isn't obvious from the name but this Quick Tip tells you what it does and how to use it.

The With Keyword, Parameterized Constructors, Anonymous Types and Objects
The With Keyword, Object Intialization, Anonymous Types and Parameterized Constructors are all covered well at Microsoft. But they don't cover the way that all of these techniques interact. About Visual Basic does in the Quick Tip.

Coding a Default Property for a Class
The Default attribute for a property in a class is an easy technique to use, but when should you use it and should you use it at all? This Quick Tip answers.

Validation and VB.NET Implicit Programming
Validating data entered into controls is built into .NET and it was part of Visual Basic back in VB6 days. There is a whole family of events and properties that can be used. This Quick Tip introduces you to the Validation family.

Validation and VB.NET Programming Guide II
Explicit Validation in VB.NET is a concept that is used a lot in Microsoft documentation. But there are no examples and very little explanation of how it's supposed to work. This Quick Tip explains what 'Explicit' validation is.

Anonymous Types in VB.NET Programming
Anonymous types are a quicker way to use objects, but some of the tricks in using them are not obvious. This Quick Tip explains it all.

Equals and ReferenceEquals Methods of the Object Object
The root of the .NET Framework contains six public methods and two of them are used for testing equality: Equals and ReferenceEquals. This article explains how those two work.

FileSystemWatcher Programs With VB.NET
The FilesystemWatcher component makes it easy to write programs that run when a file has been added, deleted, or just changed.

Using Bitwise Logical Operators in Visual Basic
The VB logical operators AND, OR, NOT, and Xor do something interesting when they're evaluated 'bitwise' in VB.NET. Starting with a Boolean and an Integer, this article shows exactly what happens and why. It's a great exercise that will ensure that you understand exactly how they work.

Using EMail Objects in Visual Basic - How to Send and Receive EMail in VB
An About Visual Basic reader asked: How do I use Visual Basic to send and receive email?? A question and answer from About Visual Basic.

Setting Tabs in VB.NET and VB6 Forms
An About Visual Basic reader asked: How can I align colums in a ListBox. VB6 doesn't provide a convenient way. You can do it in VB.NET but VB6 requires API calls. This article shows both ways, and it also shows you how to call the API.

DataGridView and Binary Serialization for Simple Lists
This article shows how to use DataGridView and binary file serialization to maintain a simple list of items in a file in just a few lines of code.

Using Loops and Timers - Part 1
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers. - Part 1

Using Block Level Scope in VB.NET
VB.NET uses what is called block level scope for variable declarations. This article shows what it is, and also explores some dark corners that you might run into when you use it.

AutoScrollOffset - An obscure property that Microsoft seems to have forgotten.
AutoScrollOffset, along with a companion method ScrollControlIntoView, are not a part of .NET that programmers are likely to know really well. This Quick Tip looks at how they work and the initial conclusion is: Not very well. If you would like to play with them yourself, the article includes downloadable code to use for your own experimentation.

Tutorials and instruction for Learning Visual Basic and VBA programming skills
Tutorials that inform about Visual Basic Programming.

Fundamental Information For Visual Basic Programming
Basic and fundamental information to help people understand how to program using the visual basic programming language including statements and syntax along with examples for programmers to use in programming vb 6 and vb.net.

Explanations for the new Visual Basic programmer
Find the code, concepts, explanations, and examples you need to understand Visual Basic. We go beyond the boilerplate descriptions you can find at Microsoft to examples and descriptions that you can understand and use in your programming.

Solutions to Visual Basic 6 programming problems with illustrations, descriptions and examples.
Solutions to VB 6 programming problem including code examples, documentation, and illustrations. An index to solutions is available to browse to help find the answer to programming problems.

Learn how to program VB.NET using Visual Studio Tools for the Microsoft Office System
Learn the next generation of Microsoft Office technologies using the new Microsoft Visual Studio Tools for the Microsoft Office System. This new tool allows you to create .NET 'managed code' rather than VBA.

Formatting Multiple Controls with the Primary Control in Visual Studio
Visual Studio has excellent ability to help you format controls on forms. But there are just a few corners that can be confusing, especially when you're trying to format a complicated form. This Quick Tip shines a light in those corners by explaining them.

The Guide to the VB.NET 2005 Books
The Guide to the VB.NET 2005 Books Also reviewed are books that explain ADO.NET 2.0, ASP.NET 2.0, Framework 2.0, Visual Studio 2005, SQL Server 2005, Visual Basic 2005 Express Edition in Visual Basic terms.

A review of books using VB.NET people who are new to the language and want concepts and basic syntax explained.
A review of VB.NET books that are for people who are new to the Visual Basic .NET language and need syntax, concepts, and .NET specific technologies such as the Framework, the CLR, and Visual Studio .NET explained in more careful detail.

A review of books about Objects, the .NET Framework, and using VB.NET.
A collection of rewviews of books about VB.NET and OOP, or Object Oriented Programming and the VB.NET Framework.

A review of books using VB.NET to teach special topics and advanced applications such as Design Patterns or Databases.
From Design Patterns to Databases, these books are focused on Visual Basic .NET and a specialized way to use it. Special Topics are usually more advanced applications or subject areas where more expertise with VB.NET is assumed. Usually Visual Basic .NET is the method used to teach something specialized and focused.

A review of text books to learn VB.NET that are used in universities and structured courses.
A collection of reviews of text books used to teach VB.NET. These books can be the best way to learn Visual Basic. Since these books are selected by university and college courses as well as other learning centers, they are high quality and comprehensive.

Are You Planning To Upgrade to Visual Basic 2005? An About Visual Basic Poll
Are You Planning To Upgrade to Visual Basic 2005? An About Visual Basic Poll - Poll Questions

About the Complete Visual Basic .NET Tutorial
A complete course in Microsoft Visual Basic .NET based on the Microsoft Press Learning Edition. From About Visual Basic. Page 1 of the introduction to the course.

Are You Ready for the Complete VB.NET Tutorial
An introduction to the Complete Course in Microsoft Visual Basic .NET based on the Microsoft Press Learning Edition from About Visual Basic. - Page 4

If-Then-Else compared with Select Case
About Visual Basic Class Instructions for Chapter 6 of the Complete Course for VB.NET covering Decision Structures

Using Loops and Timers - Loop Conditions
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers - Page 2

Using Loops and Timers - Infinite Loops
About Visual Basic Class Instructions for Chapter 7 of the Complete Course for VB.NET covering Loops and Timers - Page 7

Using Arrays and Collections to Manage Data
About Visual Basic Class Instructions for Chapter 11 of the Complete Course for VB.NET covering Using Arrays and Collections to Manage Data

Automating Microsoft Office Applications and Managing Processes - VB.NET and Office
About Visual Basic Class Instructions for Chapter 13 of the Complete Course for VB.NET covering Microsoft Office Applications and Managing Processes - Page 1

Automating Microsoft Office Applications and Managing Processes, VSTO Traps and Technicalities
About Visual Basic Class Instructions for Chapter 13 of the Complete Course for VB.NET covering Microsoft Office Applications and Managing Processes - Page 3

Learning Visual Basic
The starting place for exploring Visual Basic resources on the Web. Here's how to get started programming Visual Basic from the ground up.

Learn Visual Basic for Applications, VBA, in Microsoft Office and other software.
Find tutorials and learn how to use Visual Basic for Applications, VBA, used for Word, Excel, Access and other Microsoft Office programs as well as hundreds of other software systems.

Developing systems with Visual Basic and Databases
Learn what you need to know about using Visual Basic with databases. Most real-world system eventually have to interface with a real-world database. Here's the information you're looking for.

Frequently Asked Questions for Visual Basic
Frequently Asked Questions for Visual Basic. Compact answers to common questions. Links to the best FAQ's on the net.

Reviews of software available for integration into Visual Basic based systems.
Find reviews of third party software, shareware, and freeware. Check out software here before you spend a lot of your time or money on it.

What's new, interesting, or just entertaining "About Visual Basic"
Articles that entertain, enlighten and might even get you hot about the most successful development software in the history of computing, Visual Basic.

Learn to how to make active web sites with ASP and Visual Basic 6
Tutorials for learning how to use Visual Basic 6 and Active Server Pages can be found here. Learn how to use VB 6 and ASP.

Learn Visual Basic version 6 programming including VBA, ASP, VBScript and Visual Studio.
Free structured tutorials that take you step by step through Visual Basic 6 from creating standalone applications using Visual Studio 6 to scripting with VBScript. Courses and training for ASP (Active Server Pages) and VBA (Visual Basic for Applications) used with Office applications such as Word and Excel are also featured.

Learn how to use VBScript in Internet, WSH, and DOS environments using WScript and CScript.
Find tutorials to use VBScript with DOS batch files and at the command line, in Internet and web based systems, and standalone using both the WScript and CScript Windows Script Host (WSH) programming environments.

Find tutorials to learn how to use VB 'standalone' using Visual Studio 6.
Tutorials that teach you how to use classic VB 6 development system in a Visual Studio environment can be found at this site.

Beginning GDI+


Beginning GDI+


Database Programming with Visual Basic .NET and ADO.NET
Database Programming with Visual Basic .NET and ADO .NET