Visual Basic flow charts

Supported languages

Visustin generates flow charts from Visual Basic and Visual Basic .NET code, VBScript, Active Server Pages (ASP), QuickBASIC and some other Basic dialects. Flowchart your code to see how it works!

ModeLanguages supported
Visual Basic, VBA Visual Basic versions 1.0 to 6.0
Visual Basic for Applications (VBA)
eVB, VBCE
VB.NET Visual Basic .NET 2002, 2003, 2005 & 2008
VBScript, ASP VBScript: server-side (ASP), client-side (HTML) or plain (*.vbs)
QuickBASIC QuickBASIC 4.5, QBasic, other standard BASIC
Other BASIC dialectsSee BASIC flow charts

Support for other BASIC dialects is not guaranteed. You are encouraged to try other BASIC dialects and report your findings back to us. We are interested in your feedback on which dialects should be supported in the future.

Supported Visual Basic statements

The following statements are supported. Many of them are limited to VB.NET only.

Other statements are supported but have no specific visualization. Other compiler directives are handled as if they were comments.

Visustin can visualize either a complete VB file, class or module, one or more Subs and Functions, or a short executable code snippet.

Non-visualized syntax

Variable and constant declarations are hidden to save space. As an exception, variable declarations with an initial value are shown, as the initialization value may be important to understand the logic. In Visual Basic mode, the (declarations) section is completely hidden when procedures are detected in the file. Classic VB Attribute lines, as well as VB.NET Imports statements, are hidden as well.

The following constructs are not handled in any special way. This means you will see the code as a regular statement, not as a branch or a jump.

VBScript/ASP notes

In mode VBScript, ASP, Visustin flowcharts plain VBScript and also VBScript embedded on HTML or ASP pages. Visustin automatically detects the language mode, which is one of the following:

ASP Server-side VBScript (*.asp)
Everything within <%...%> is assumed to be VBScript.
Used when: <% or %> are found.
HTML Client-side VBScript (*.html)
Flowchart the code within <SCRIPT>...</SCRIPT> tags. Everything else is HTML.
Used when: Code is HTML but no ASP <% tag exists.
Plain (*.vbs)
The code is flowcharted "as is" without HTML.
Used when: Code is not HTML.

When flowcharting a code snippet (not an entire file), select only the VBScript code, no HTML tags. Alternatively, include the opening tag <% or <SCRIPT> to make Visustin correctly detect the language mode.

If the code contains both server-side and client-side scripts, server-side scripts are flowcharted while client-side scripts are ignored. Remove <%...%> to flowchart as client-side script.

Where the code mixes several scripting languages, only VBScript is flowcharted. Use JavaScript mode to flowchart JavaScript code.

The file extension (*.asp, *.html, *.vbs) has no actual meaning to Visustin.

Change note: Previous Visustin versions supported ASP mode for *.asp files and Visual Basic mode for plain VBScript. Starting with Visustin v6, mode VBScript, ASP is appropriate for both.

Language-specific limitations

ASP.NET pages (.aspx) are not supported. However, the codebehind classes (.aspx.cs or .aspx.vb) are supported, as they are regular C# or VB.NET code.

QuickBASIC binary files are not supported. Visustin cannot open binary .bas files saved by QuickBASIC. Save the files in text mode for Visustin.

Visual Basic binary files (VB 1.0-3.0) are not supported. Visustin cannot open binary files saved by VB versions 1.0 to 3.0. Save the files in text mode for Visustin or use Copy & Paste.

©Aivosto Oy