Extend Your Visual Basic 6.0 Applications

Have you looked at the functionality of Visual Basic .NET and wanted to take advantage of it from Visual Basic 6.0? Then this section is for you. We will show you how to extend your Visual Basic 6.0 applications using Visual Basic .NET and how to take advantage of your Visual Basic 6.0 components from Visual Basic .NET. You can take advantage of the best of both worlds!

Bring the Power of .NET to Visual Basic 6

The Interop Forms Toolkit provides tools and components that simplify the process of building forms and controls with Visual Basic .NET that can be easily consumed from Visual Basic 6.

Read about the Interop Forms Toolkit features
Download Interop Forms Toolkit 2.1

COM and .NET

Extending Visual Basic 6 ActiveX EXEs with Visual Basic .NET and the Interop Forms Toolkit

This article discusses techniques for modernizing and upgrading Visual Basic 6 ActiveX EXEs with Visual Basic .NET.

COM Interop with .NET

This article covers some of the issues associated with creating and using COM objects with Visual Basic.

Use 5000 Classes from Visual Basic 6.0
In this article, you will see how anything in the .NET Framework can be utilized in Visual Basic 6.0 by creating simple wrapper classes. This can let you quickly add powerful functionality to existing Visual Basic 6.0 applications, without the need to rewrite those applications in .NET.
Best Practices to Use Visual Basic 6.0 and Visual Basic .NET Together
A Microsoft Visual Basic 6.0 application can access .NET class libraries, but to do so, it must go through an interoperability layer, known as a client callable wrapper. This wraps the desired .NET class, and exposes it so that it appears as a traditional COM object, which can be used from any environment that can consume COM objects. Learn how to create these wrappers.

Data and Services

Convert a Data-Oriented Application from Visual Basic 6 to Visual Basic .NET

Learn how to migrate your data-oriented application from Visual Basic 6.0 to Visual Basic .NET.

Using SQL Express from Visual Basic 6.0
SQL Express provides the developer power of SQL Server. This article will show how SQL Express can be used for Visual Basic 6.0 development. Best of all, it is completely free, and can be redistributed with your application.
Calling Web Services from Visual Basic 6
This article shows you how to build an application that downloads satellite photos of a given street address from Visual Basic 6.
Enhancing an Application with Windows Desktop Search and Office Outlook Integration

This article, the first in a four-part series, shows that it is not necessary to migrate a Microsoft Visual Basic 6.0 application to Microsoft Visual Basic .NET in order to take advantage of .NET functionality.

Enhancing a Visual Basic 6.0 Application with MapPoint Web Service

This article, the second in a four-part series, demonstrates how to use .NET functionality to expand and modernize a Microsoft Visual Basic 6.0 application by adding mapping capabilities via the Microsoft MapPoint Web Service API.

Enhancing a Visual Basic 6.0 Application with the ReportViewer Control

This article, the third in a four-part series, shows how to include modern, simple-to-configure Microsoft Visual Basic .NET reporting components within an existing Microsoft Visual Basic 6.0 application.

Deployment

Automatic Updating of Visual Basic 6 Applications: Part I
This article shows how you can add automatic updating functionality to your existing Visual Basic 6.0 applications, using features available with the .NET Framework 2.0.
Deploying the Hybrid Visual Basic 6.0 and Visual Basic .NET Application

This article—the last in a four-part series that walks through enhancing an existing Microsoft Visual Basic 6.0 application by using functionality that is expected of modern applications—focuses solely on deployment considerations.

Windows Programming

Launch and Control System Processes using the “Process” Class from a Visual Basic 6 Application
This article examines the functionality provided by the .NET Framework “System.Diagnostics” classes. In specific, this article looks at the very useful “Process” class, which lets you launch and control system processes, and shows how to use this class from a Visual Basic 6 application.
Using Background Threads with Visual Basic 6
Learn how to use the .NET Framework 2.0 BackgroundWorker component from Visual Basic 6 applications to perform long running operations on background threads. This article shows you how to inform the user of progress, how to allow the user to cancel the background task, and how to debug multi-threaded applications.
Adding File Compression and Encryption in Visual Basic 6.0 Using the Microsoft .NET Framework - Part 1
In this two-part article series, you’ll see how you can easily add encryption and data compression (ZIP) capabilities to existing Visual Basic 6.0 applications using the .NET Framework.
Adding File Compression and Encryption in Visual Basic 6.0 Using the Microsoft .NET Framework - Part 2
Add data compression (ZIP) capabilities to existing Visual Basic 6.0 applications using the .NET Framework.
Accessing Operating System Information and More with Visual Basic 6
This article explains how you can use Visual Basic 6 with the .NET Framework to access user and operating system information that normally would require Win32 API calls.
Accessing the Event Log from Visual Basic 6.0 using the Microsoft .NET Framework
Instrument your applications so that other people can look at the event logs to diagnose issues from Visual Basic 6.0 applications using .NET.
Access the File System with .NET Framework Classes from Visual Basic 6.0
Accessing the file system is a common application requirement, and in the spirit of Microsoft Visual Basic Fusion, this article shows how to access some of the best Microsoft .NET Framework file system functionality from existing Visual Basic 6.0 applications. Learn how to get the extension for a file, the directory portion or a path, or the file name portion of a path. Learn how to fire events every time the contents of a directory change.