VB044
File opened but not closed
Visual Basic 6
Warning
VB6
An Open without a Close keeps the handle and its lock for the life of the process; the error path is where it usually escapes
an Open without a Close keeps the handle and its lock for the life of the process; the error path is where it usually escapes.
Why this severity
an Open without a Close keeps the handle and its lock for the life of the process; the error path is where it usually escapes.
Known false positives
closing delegated to a shared cleanup routine outside the procedure.
Remediation example
Open path For Output As #f ' ... Close #f