WARNING #6007

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

    Description

    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.

    Sample VB6

    Dim a(1 To 10) As Integer
    

    Target VB.NET

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

    Dim a(9) As Integer
    

     

    Previous versions:

    'UPGRADE_WARNING: Lower Bound of array a was changed from 1 to 0
    
    Dim a(10) As Integer
    

     

    The code correction is to update the array size but bear in mind in larger test cases you'll be better served by upgrading to the latest versions.


    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