Link to home
Start Free TrialLog in
Avatar of devvy
devvy

asked on

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

Hello,

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)
etc...
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?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of tbsgadi
tbsgadi
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of devvy
devvy

ASKER

Thanks tbsqadi! Once I get ahold of my Visual Studio 2005 disk, I'll give that a try.
Avatar of devvy

ASKER

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
http://support.microsoft.com/kb/194784