Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A GoTo statement outside a Using construction attempts to branch to a line label inside the construction.
It is not valid to branch from anywhere outside a Using...End Using construction to anywhere inside the construction.
Error ID: BC36009
To correct this error
Change the line label in the GoTo statement to a label that is not inside any For...Next, For Each...Next, SyncLock...End SyncLock, Try...Catch...Finally, With...End With, or Using...End Using construction.
-or-
Remove the GoTo statement entirely. The only way you can enter a Using...End Using construction is to allow control to pass to the Using statement itself.