Skip to content

Example Conversion

Benjamin edited this page Mar 14, 2020 · 2 revisions

Example Conversion

As a novel proof-of-concept, you can point the converter at itself.

Since the application is a VB6 program, you can use the converter on its own source code as a sort of "trial run". The converter will convert the forms and modules (there are no classes or usercontrols). From there, you can inspect the output of the code and see what level of conversion you are left with.

Obviously, it leaves a lot to be desired. One of the forms requires minor editing before the designer can render it. The code has numerous TODO markers.

But, one must admit, it is a whole lot simpler than converting the entire project by hand.

The project is set up. The files are organized into directories. The basic syntax is fully converted. There would be a lot of clean up, but the overall conversion time is a fraction of what it would have been.

Likewise, if you wanted to import a file at a time into an existing project, while there would be more to do, the individual line-by-line conversions are handled.

Clone this wiki locally