Click here to Skip to main content
15,943,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to migrate from vb6 to vs 2013, this is my first project to migrate. I searched in google most of all every body as given as we can migrate from vs 2008. whether any chance directly migrate from vs 2013. if you have any suggestions please.

Updated 30-Oct-20 20:33pm

Honestly, your best bet to to just scrap the VB6 code and rewrite.

Sure, there are some tools to upgrade the code for you, but it's code written in VB.NET to mimic what VB6 did for backwards compatibility. It is NOT code that should be used to teach yourself VB.NET.

The last version of Visual Studio to have the VB6 upgrade Wizard was 2008. After that, you're either using some third party tool or you're rewriting by hand. Rewriting is really the best option.
Share this answer
Sergey Alexandrovich Kryukov 27-Jul-15 14:39pm    
Agree, a 5. The legacy project could be used as a reference source at best. It should be considered as not a problem, but as an opportunity: the opportunity to finally create a cleaner project.
Hi Sheethal,

As you know VB6 is one of the good old technology, But i just want to know how many KLOC you are planning to convert.

You can refer below links for your refernce,[^][^][^]

Best Regards,
Share this answer
smsheethal 29-Jul-15 3:52am    
Hi Vijay

As per given link I tried to migrate but lines of cods are more. so I tried from Visual studio 2008. in wizard I am getting error as
"Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE))"
How to

Resolve this issue
CHill60 29-Jul-15 9:44am    
The way to resolve your issue is to follow the advice in Solution 3 - do not "migrate" the code, especially using wizards. Rewrite in .net using the original as a reference.
It will be quicker, more robust and more maintainable.

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