Skip to content
Benjamin edited this page Aug 16, 2022 · 17 revisions

VB6 to C# Software Converter

Getting Started

First, clone the repo: git clone https://github.com/bhoogter/VB6TocSharp.git

The main VB6 project is prj.vbp. You can either double click on this from a folder in Explorer, or type the filename in a command prompt (assuming you already have VB6 installed somewhere).

First Things

Some things you will want to do to help you get started...

Converting

Once configured, you can use the converter out of the box, either in project or single-file mode.

All conversions are done on a 'per-file' basis, meaning, the conversion process is not project aware. It is assumed the project is in good working order, compiles, and that any references to unknown functions or modules will simply "be there" when the entire project is converted.

There are a few code libraries which we use to facilitate conversion. These are only written out, along with project config and setup, when running the "ALL" feature. It is recommended to run this at least once to get an idea of what is there. On the other hand, there are no DLLs involved in this conversion. A good 3rd party component library, however, might be useful, depending on how far down the process you go.

The actual conversion wiki page is found here.

Sample Conversion

As an example of capabilities, you can Convert the Converter.