Visustin generates flow charts from Visual Basic and Visual Basic .NET source code. It also flowcharts VBA (Visual Basic for Applications), VBScript and ASP (Active Server Pages) code. The following modes are available:
Mode | Languages supported |
---|---|
Visual Basic, VBA |
Visual Basic 1.0 to 6.0 (classic VB) and also eVB & VBCE Visual Basic for Applications (VBA) 6.0 to 7.0 |
VB.NET | Visual Basic .NET 2002, 2003, 2005, 2008, 2010, 2012, 2013 & 2015 |
VBScript, ASP | VBScript: server-side (ASP), client-side (HTML) or plain (*.vbs) |
Other BASIC dialects: See BASIC flow charts.
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.
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.
VBA support is not limited to any version of Office, Excel, Word or Access. Simply copy & paste your VBA code to Visustin. If you have Aivosto VBA Plug for Project Analyzer, you may use it to export code from Office documents automatically. VBA Plug is optional and only for convenience. It is not a requirement.
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:
<%...%>
is assumed to be VBScript.<%
or %>
are found.<SCRIPT>...</SCRIPT>
tags. Everything else is HTML.<%
tag exists.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: Old Visustin versions (up to v5) supported a separate ASP mode for *.asp files and Visual Basic mode for plain VBScript. In this version, mode VBScript, ASP is appropriate for both.
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.
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.
VBScript syntax Case x statement
, where statement immediately follows x on the same line without a colon, is unsupported. Add the colon for a proper flow chart.