Back

VB043

Hardcoded file number

Visual Basic 6
Warning
VB6

Open

Open ... As #1 works until any other code — including a third-party control — also picks #1.

Why this severity

Open ... As #1 works until any other code — including a third-party control — also picks #1.


Known false positives

none expected.

Remediation example

f = FreeFile
Open path For Input As #f

Reconnecting… Connection lost. Reload