Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello there,

I have one project developed in visual basic 6.0 now i want to migrate it to visual studio 2015, which is the best way to do this, could you please guid me in this?


What I have tried:

I tried to open it in visual studio 2005 to migrate it but it is not able to open it.
Posted
Updated 11-Jan-18 1:36am
Comments
F-ES Sitecore 11-Jan-18 7:13am    
If it doesn't convert it for you (older versions did, not sure about more recent versions) then you just need to re-write it from scratch. Even when it does convert it's a very bad conversion and leaves you with bad code.

Basically, don't.
VB6 is well and truly out of date - it died over 15 years ago - and was replaced by version 1.0 of the .NET framework. It shouldn't be used for new projects, and migrating it to a more recent version of VS won't change the code to work with the newer framework. Find a copy of VB6 instead, and use that - then use that app as a guide to write a new application around the .NET framework, using the later facilities.

That way, you get a modern, maintainable app that is fill for the future.
 
Share this answer
 
Comments
Kishor-KW 11-Jan-18 7:34am    
okay, thank you :)
OriginalGriff 11-Jan-18 7:38am    
You're welcome!
Either
  • Leave it as it stands (requires no effort!).
  • Rewrite it from scratch in VB.NET or, better, in C#.
.NET languages and VB6 are worlds apart.

By the way, just Googling you may find tons of info on this very topic.
 
Share this answer
 
Comments
Maciej Los 11-Jan-18 7:42am    
5ed!
CPallini 11-Jan-18 7:47am    
Thank you!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900