Back

VB013

Bare End or Stop statement

Visual Basic 6
Error
VB6

A bare End terminates the process without unload events or cleanup — and in a compiled executable a leftover Stop does the same

a bare End terminates the process without unload events or cleanup — and in a compiled executable a leftover Stop does the same. The VB6 counterpart of Delphi's Halt.

Why this severity

a bare End terminates the process without unload events or cleanup — and in a compiled executable a leftover Stop does the same. The VB6 counterpart of Delphi's Halt.


Known false positives

none expected; block closers (End Sub, End If) are not matched.

Remediation example

Unload Me
' let the application exit normally

Reconnecting… Connection lost. Reload