The lower bound of collection 1% was changed from 1 to 0.


    This EWI is no longer generated by the VBUC as of version 2.2. Please upgrade to the latest version of the Visual Basic Upgrade Companion.


    Dim a(1 To 10) AsInteger

    Sample VB6

    Dim a(1 To 10) AsInteger

    Target VB.NET

    In VBUC Version 2.2 and higher this EWI is no longer emitted:

    Dim a(9) AsInteger

    Previous versions:

    'UPGRADE_WARNING: Lower Bound of array a was changed from 1 to 0

    Dim a(10) AsInteger

    Expected VB.NET

    The code correction for previous versions of the VBUC is as follows, but bear in mind in larger test cases you'll be better served by upgrading to the latest versions.

    Dim a(9) AsInteger

    Download VBUC Free Trial
    Download VBUC Now

    It's time to eradicate VB6
    ROI of eradicating VB6

    8 Proven Tips for
    Planning a Successful Migration

    8 Tips for migration