Visual Basic Project Code for UML Diagram

I was tasked with turning the old VB6 program into C #. Unfortunately, the project has 8 modules, a lot of codes in each, and a lot of nested IF statements and just planning a terrible design.

I hope to find a tool that will accept all files and generate some kind of UML diagram to show the main flow of code so that I can start debugging it.

The program uses several different types of files with slightly different information, but it seems that they process them in just a few large methods, calling different methods here and there depending on what the information is.

I know that I will need to take some input files and go through all this, looking for what it does in each situation, so I can find similarities and differences in order to be able to create a more elegant solution that will be easier to maintain.

Thanks for any help.

+5
source share
6 answers

this tool can be used as an add-on for your Visual Studio to generate and reverse-engineer your VB6 project on Visual UML Diagrams.

+3
source

Unfortunately, this is not easy for a large project.

- Sparx Enterprise Architect, . , , .

+2

,

.

EA , , UML , , .

RS Conley, , . , , , , , , , , . .Net, .

0

Visio 2000 Professional Enterprise , . , Visio 2007 : 60- .

0

The best approach is to write Unit Tests and refactor the code into a more convertible presentation. Martin Fowler and NUnit Refactoring - Good Places to Achieve a Goal

This issue is discussed in more detail here, as well as links to the above.

How to switch from VB6 to VB.NET

-1
source

All Articles