Jump to content
Xtreme .Net Talk

trying to convert my VB6 projects


Recommended Posts

Posted

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.

  • *Gurus*
Posted

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.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted

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....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...