devxlogo

Use VB6 ActiveX controls with VB.NET

Use VB6 ActiveX controls with VB.NET

It is possible to use VB6 ActiveX controls – such as ADO Data Control, Chart Control, Comm Control, and the Windowless controls – with the designer of Visual Studio .NET, but you may encounter problems when doing so because VS.NET doesn’t come with the design-time license for these controls, therefore you will receive an error when you try to add these controls to a Visual Studio .NET form or when you run the Upgrade Wizard. This problem doesn’t occur only if you have installed Visual Studio .NET on a system where you also installed Visual Basic 6.0.

You can solve this problem by installing Visual Basic 6.0 on the system where Visual Studio .NET is installed or, more simply, by merging the necessary license keys in the registry. These license keys are provided with Visual Studio .NET in the form of the VB6Controls.reg file that you can find in the ExtrasVB6Controls folder on your Visual Studio .NET Installation CD. Just locate this file from inside Windows Explorer and double-click it to merge all the necessary license keys in the registry.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist