Guest kimjo Posted November 25, 2002 Posted November 25, 2002 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. Quote
*Gurus* divil Posted November 25, 2002 *Gurus* Posted November 25, 2002 To be honest, it really isn't 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 it's much better to rewrite than to try and upgrade, believe me. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
fantasma62 Posted November 25, 2002 Posted November 25, 2002 i may be wrong, but when I have opened my VB6 solutions with VB.Net, I haven't 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.... Quote
*Gurus* divil Posted November 26, 2002 *Gurus* Posted November 26, 2002 fantasma62, that's just because the conversion wizard has converted them automatically. They must have been pretty simple projects for it to have worked seamlessly. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.