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.
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.
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.