VB005
Late binding
Visual Basic 6
Warning
VB6
CreateObject and As Object resolve members at runtime, so a typo becomes error 438 in production instead of a compile error
CreateObject and As Object resolve members at runtime, so a typo becomes error 438 in production instead of a compile error.
Why this severity
CreateObject and As Object resolve members at runtime, so a typo becomes error 438 in production instead of a compile error.
Known false positives
plugin architectures where the concrete type is genuinely unknown at compile time.
Remediation example
Dim conn As ADODB.Connection Set conn = New ADODB.Connection