Image Control for Visual Basic 6.0 Users
The Image control in Visual Basic 6.0 has no direct equivalent in Visual Basic 2005. The Image control is a lightweight control; Visual Basic 2005 does not support lightweight controls.
Upgrading the Stretch Property
The properties, methods, and events for the Image control are a subset of those for the PictureBox control (with the exception of the Stretch property). For more information, see.
The following table shows the mapping between the Stretch property and the equivalent for the Visual Basic 2005control.
Stretch Property Equivalents
|Visual Basic 6.0||Visual Basic 2005 Equivalent|
Stretch = False
Stretch = True
When a Visual Basic 6.0 application is upgraded to Visual Basic 2005, any Image controls are upgraded to PictureBox controls.