trying to convert my VB6 projects

  • Thread starter Thread starter kimjo
  • Start date Start date
K

kimjo

Guest
I am brand new at this vb.net stuff. My husband installed it on my computer and I tried to open up some of my VB6 projects in it. It automatically started to convert it but ran into problems. The error log says this:

>Could not load referenced components: MSWINSCK.OCX (1.0.0) msadodc.ocx (6.0.0) msdatgrd.ocx (1.0.0) MSCOMCTL.OCX (2.0.0) It is recommended you install VB6.0, with all referenced components, and ensure the application compiles and runs before upgrading.</Issue>

I know the application works because I have been using it with no problems, but how can I get it to convert so I can work with it in .net?

Thanks for any help.
 
To be honest, it really isnt the best idea to try and convert code. The conversion wizard will not give you proper .NET code, rather code geared to work with a special namespace that lets you keep VB6 syntax to a certain extend.

This is especially true of applications that use the common controls and the winsock activex control. These are completely redone in .NET and its much better to rewrite than to try and upgrade, believe me.
 
i may be wrong, but when I have opened my VB6 solutions with VB.Net, I havent had the need to convert it into .net......They work well with VB.Net, as if I had done them there....
Maybe that has to do with the fact that I have updated my Vb6 a few times....
 
fantasma62, thats just because the conversion wizard has converted them automatically. They must have been pretty simple projects for it to have worked seamlessly.
 

Similar threads

Back
Top