How can I migrate VB6 code to .NET using the built in Visual Studio Upgrade Wizard?


I'm wondering if there's some way to upgrade some old VB6 code that I didn't write to .NET using Visual Studio 2005's Upgrade Wizard? The problem arises when I try to do the conversion, I get this error:

Upgrade failed: Exception occurred: Could not load referenced components:
DBLIST32.OCX (1.1.0)
DBGRID32.OCX (1.0.0)
dw2003RelatedForm.ocx (1.0.0)
It is recommended you install VB6.0, with all referenced components, and ensure the application compiles and runs before upgrading.

So I did some googling and it seems that if I was able to install VB6.0, I would get these references and theoretically have no problem with the migration. Problem is, I don't have access to old VB6.0 IDE. Any suggestions?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

To resolve this problem, you must install the .ocx files for the ActiveX controls on the computer before you upgrade the project or before you use Visual Basic 6.0 ActiveX controls on a form in Visual Studio 2005 or in Visual Studio .NET. To do this, use one of the following methods:
1. Install Visual Basic 6.0 on the computer that is running Visual Studio 2005 or Visual Studio .NET.
2. Add the licensing keys to the registry.

Try using the second method


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
devvyAuthor Commented:
Thanks tbsqadi! Once I get ahold of my Visual Studio 2005 disk, I'll give that a try.
devvyAuthor Commented:
I applied this solution as recommended. I'm still getting errors however; now it's looking for and can't find "DBLIST32.OCX". Is there some other set of references I need to upgrade the project?
The Data Bound List Controls 6.0 is part of VB6
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.