Back

VB045

Bare Close or Reset

Visual Basic 6
Info
VB6

Close without a file number closes every open file in the process, including ones another procedure was still writing

Close without a file number closes every open file in the process, including ones another procedure was still writing.

Why this severity

Close without a file number closes every open file in the process, including ones another procedure was still writing.


Known false positives

whole-process shutdown code where closing everything is the intent.

Remediation example

Close #f

Reconnecting… Connection lost. Reload