This documentation is archived and is not being maintained.

Visual Basic .NET Articles

Visual Studio .NET 2003

This topic contains links to articles and other sources of information that are specifically related to Visual Basic .NET. For additional articles about Visual Studio .NET, see Articles and Columns.


Accessing the Registry with Visual Basic .NET
Learn how to access the registry using the Visual Basic .NET built-in functions, DeleteSetting, GetAllSettings, GetSetting and SaveSetting, as well as using the Registry and RegistryKey classes of the common language runtime. It details the required permissions, explains when to use the Registry Editor, and shows you how to read from and write to the registry programmatically.
Creating Control Arrays in Visual Basic .NET and Visual C# .NET
Learn how to create and manage control arrays with Visual Basic .NET and Visual C# .NET.
Creating Your Own Dynamic Properties and Preserve Property Settings in Visual Basic .NET
Learn how to create dynamic properties in addition to the ones exposed by Microsoft Visual Basic .NET, as well as how to use dynamic properties to persist user-configurable properties between instances of an application.
Debugging Windows Forms Controls Created with Visual Basic .NET or Visual C# .NET
Learn the basics of how to debug your user controls, by creating a host application for them to run in. Stepping through code and setting breakpoints will also be discussed.
Deploying Hybrid Visual Basic 6.0 / Visual Basic .NET Applications
Demonstrates how to deploy applications that contain both Visual Basic 6.0 and Visual Basic .NET components.
Deployment Changes in Visual Basic .NET
Learn about what Visual Basic 6.0 programmers need to know to use deployment features in Visual Basic .NET.
Exploring the Visual Basic .NET Resource Kit
Joel Semeniuk examines the Visual Basic .NET Resource Kit and highlights the best of the hundreds of documents, videos, and samples that can help you build proficient solutions.
Formatting the Windows Forms DataGrid Control in Visual Basic
Describes how to format the Windows Forms DataGrid control by creating and implementing your own custom column styles.
Introduction to Exception Handling in Visual Basic .NET
Provides an overview of structured and unstructured exception handling in Visual Basic .NET. It includes considerations that help you choose the right exception-handling alternative, the approaches involved in each alternative, how to create your own exceptions, and the exception object's properties.
Life Without Control Arrays in Visual Basic .NET
Control arrays were the best way to manage the controls on your Visual Basic forms, but there are no control arrays in Visual Basic .NET. Deborah Kurata describes how to use new Visual Basic .NET features to obtain control array functionality without the need for a control array.
Life Without On Error Goto Statements
In previous versions of Visual Basic, the best practice for handling errors was put On Error Goto in every routine, but there is no On Error statement in Visual Basic .NET. This article describes how to use new Visual Basic .NET features to handle errors without using On Error Goto statements.
Modifying Internet Information Services During Deployment with Custom Actions
Demonstrates how to set Internet Information Services (IIS) settings that are not exposed by Web Setup projects using either Installer classes or script.
Multithreaded Programming with Visual Basic .NET
The .NET Framework provides new classes that make it easy to create multithreaded applications. This article discusses how you can use multithreaded programming techniques with Visual Basic .NET to develop more efficient and responsive applications.
Navigating Multiple Related Tables in an ADO.NET Dataset
A dataset in ADO.NET is an in-memory representation of data that can contain multiple related data tables. This paper describes the methods of navigating these related data tables within a dataset. You will create a Windows application in Visual Basic .NET or Visual C# .NET that returns related records based on a selected record, as well as compile aggregate information for related records using expression columns.
Object-Oriented Programming in Visual Basic .NET
Discusses the many new object-oriented programming techniques available in Microsoft Visual Basic .NET.
Overriding Event Handlers with Visual Basic .NET
Learn how to override event handlers when programming in Visual Basic® .NET and how to use the Handles clause.
Performance Optimization in Visual Basic .NET
Learn some strategies for improving the run-time performance of your Visual Basic .NET applications.
Property Bag Changes in Visual Basic .NET
Demonstrates how to duplicate the functionality of a Visual Basic 6.0 property bag in Visual Basic .NET using serialization. In Visual Basic 6.0, the PropertyBag object was used to persist an object's data between instances.
Security Concerns for Visual Basic .NET and Visual C# .NET Programmers
Provides an overview of what you need to know about security, both for Windows forms and Web forms in Visual Basic .NET and Visual C# .NET.
Tips and Tricks: Building Microsoft Office Add-ins with Visual C# .NET and Visual Basic .NET
Describes several techniques for creating Office add-ins with Visual Studio .NET.
Using Classes and Structures in Visual Basic .NET
Provides information to help you choose between a class and a structure when writing an application.
Using Threads
Learn the different models of threading—single, apartment, and free—and the use of each model. It also introduces a code sample in C# that uses threading to help you write applications that will take advantage of threading.
Using Visual Basic .NET to Access Google's Web Service
Learn how to access the Google Web APIs service from a Visual Basic .NET Windows front end. This article describes how to call a SOAP Web service, execute a Google search, access a page in Google's cache, and call the Google spell checker.
Visual Basic .NET 2003 Language Changes
Describes the two new additions to the Visual Basic .NET language: the ability to initialize loop control variables in For/For Each loops, and two new bitshift operators.
Visual Basic .NET Internals
Learn about the internal implementation of the Visual Basic .NET language and the compiler, which have evolved significantly since Visual Basic 6.0. This paper examines those internals so that you can make choices that affect productivity, code safety, and execution speed. In addition, this paper explores potential performance "gotchas" and discuss best practices, enabling you to achieve optimal performance from your Visual Basic .NET code.
Working with Multiple Forms in Visual Basic .NET: Upgrading to .NET
Describes how working with multiple forms has changed from previous editions of Microsoft Visual Basic and illustrates several key techniques, including displaying a second form, changing the appearance of another form, and using a form as a dialog.

Product Documentation

Designing Distributed Applications
Information on application design decisions, such as system architecture, database design, and international considerations, as well as Enterprise Templates.
Visual Basic and Visual C#
Find out about what's new in Visual Basic, learn more about Visual C#, and discover how to use Visual Basic and Visual C# to develop applications.
Upgrading Applications
Provides information about how to use programs created using previous versions of Visual Basic and Visual InterDev in Visual Basic .NET.
Decision Chart
Provides an interactive guide to help you choose which approach or technology to use, as well as links to more information.
Common Tasks in Visual Basic and Visual C#
Lists the most common programming tasks in various features areas (such as Web applications and debugging) and provides links to procedural information.
Visual Basic Samples
Describes how you can access sample code, and provides links to descriptions of sample Visual Basic programs.
.NET Framework Class Library in Visual Studio
Provides links to Visual Studio .NET topics that support the development of features based on classes in the .NET Framework.

MSDN Library Links

Adventures in Visual Basic .NET
Adventures in Visual Basic .NET, by Rocky Lhotka and Billy Hollis, takes you on an adventure deep into Visual Basic .NET development. Come here twice a month to discover new and interesting features in Visual Basic .NET and learn how to implement them in your applications.
Visual Studio Home page at
Find pointers to product information, technical resources, additional samples and downloads and more.
Visual Basic Home page at
Find pointers to Visual Basic product information, technical resources, additional samples and downloads and more.
.NET Framework Home page at
Find pointers to .NET Framework technology information, technical resources, additional samples and downloads and more.
Articles and Columns
Provides links to articles and other resources related to Microsoft® Visual Studio® .NET.
Visual C# .NET Articles
Provides links to articles specific to the Visual C# projects and languages.
Visual C++ .NET Articles
Provides links to articles specific to the Visual C++ projects and languages, including Managed Extensions for C++.
JScript .NET Articles
Provides links to articles specific to scripting technologies.