-
Jul 12th, 2020, 01:44 PM
#1
Thread Starter
PowerPoster
HOW TO READ a vb 6.0 project in VB Net
HOW TO READ a vb 6.0 project in Visual studio (.Net)?
-
Jul 12th, 2020, 02:07 PM
#2
Re: HOW TO READ a vb 6.0 project in VB Net
-
Jul 12th, 2020, 05:36 PM
#3
Re: HOW TO READ a vb 6.0 project in VB Net
Visual Studio 2008 (and perhaps earlier ones) had a kind of import tool for VB6 projects, but it wasn't very good... in almost every case it is better to re-write the project, and use the original project as a kind of design spec.
-
Jul 12th, 2020, 08:44 PM
#4
Re: HOW TO READ a vb 6.0 project in VB Net
You can open individual VB6 code files to read them but VS doesn't understand VB6 projects. As suggested, Microsoft used to provide a conversion tool and then they relied on a third-party to do so but that ended some time ago. You may be able to find working third-party tools now but they will not be free. Given how many manual edits were generally required even after using such a tool and the fact that the code you ended up with was always suboptimal, the usual advice was to first get a good understanding of the existing functionality and the implement that in the best way possible in VB.NET. That would often involve very different patterns and code structure, hence it would be better than an automated conversion.
-
Jul 13th, 2020, 04:25 PM
#5
Re: HOW TO READ a vb 6.0 project in VB Net
Originally Posted by jmcilhinney
You can open individual VB6 code files to read them but VS doesn't understand VB6 projects. As suggested, Microsoft used to provide a conversion tool and then they relied on a third-party to do so but that ended some time ago. You may be able to find working third-party tools now but they will not be free. Given how many manual edits were generally required even after using such a tool and the fact that the code you ended up with was always suboptimal, the usual advice was to first get a good understanding of the existing functionality and the implement that in the best way possible in VB.NET. That would often involve very different patterns and code structure, hence it would be better than an automated conversion.
Did you ever try mobilize? Was slightly better than the inbuilt 2008 vs option but still a nightmare.
-
Jul 14th, 2020, 03:19 AM
#6
Lively Member
Re: HOW TO READ a vb 6.0 project in VB Net
Although 2008 and the below version provide an automatic function to convert Vb6 code to VB.net framework. But the problem starts after the conversion, it Skips some code, adds function/variables on its own, or modify the functional behavior on its own, with it the VB.proj will be created with error and you will not be able to open it anywhere as solution file. 3rd party tools also the same.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|