NOTE #8008

    Element xxx is obsolete and should be removed

    Description

    In this scenario the element xxx is no longer available on the target platform. However it is part of function call, or expression and the statement cannot be removed without user revision. Therefore this note is issued so the user can take proper action. This line will cause a compilation issue and must be corrected.

    Sample VB6

    In this example the Caption property of an SSPanel has a map that indicates that it will be removed

    Text = GetMessage(SSPanel.Caption)

     

    Expected C# 

    // UPGRADE_NOTE: (8008) Element Caption is obsolete and should be removed. 
    // More Information at: https://www.mobilize.net/ewis/ewi8008
    Text = GetMessage(SSPanel.Caption)
     As you can see the tool cannot remove the statement because it can be part of another expression, for example as a parameter to a function call, and this expression can have some side effects. In this cases the user must review this code and take proper actions.
    Important Resources

    Download VBUC Free Trial
    Download  Now

    It's time to eradicate VB6
    ROI of Eradicating VB6

    8 Proven Tips for
    Planning a Successful Migration

    Learn More