Problem solve Get help with specific problems with your technologies, process and projects.

Registering a VB6 component for the .NET platform

How do I register a VB6 component on a .NET Windows 2003 platform so I can use the VB6 com in a VB app on a .NET platform? I have been reading and usually people are saying you can run a VB 6 environment and 2003 side by side. Then why are my VB 6 Com not functionaing and how can I register them in .NET?
I am hearing two distinct issues here: the first is interoperability between VB6 and .NET (via COM). The second issue is the side-by-side (SxS) support of the development environments. It is true that you can run VB 6 and VS.NET 2003 SxS (though I do believe you need to install them in that order; see the release notes for VS.NET 2003 for more information). On interoperability, there is a good article on this by Rockford Lhotka in Visual Studio Magazine (see: http://www.fawcette.com/vsm/2002_04/magazine/features/rlhotka/default.aspx). You'll simply deploy your VB6 COM object on the .NET platform as you would any other platform. If you are still running into problems, you may be suffering from the following bug: http://support.microsoft.com/default.aspx?scid=kb;en-us;318597.

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.