Convert .bas file from vb6 to .net

If I need to convert vb6 to, what should I do for the original .bas file.


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.

Mike TomlinsonMiddle School Assistant TeacherCommented:
Create a VB6 project with the .bas file in it and then open that VB6 project in .Net and it will convert it for you using the Upgrade Wizard.

Though in most situations you need to manually tweak the code to get rid of errors.

Usually it's best just to rewrite the code from scratch so you can take advantage of the new abilities of the .Net framework.
turbot_yuAuthor Commented:
How to open the proj in

Seems not recognize the proj file of vb6 by .net
Mike TomlinsonMiddle School Assistant TeacherCommented:
Click on File --> Open and select your VB6 project file.

The Upgrade Wizard should start automatically...

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
turbot_yuAuthor Commented:
I open the project file by .net, but only  get the code inside.
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
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.