Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Image Control for Visual Basic 6.0 Users

The Image control in Visual Basic 6.0 has no direct equivalent in Visual Basic 2008. The Image control is a lightweight control; Visual Basic 2008 does not support lightweight controls.

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 PictureBox Control for Visual Basic 6.0 Users.

The following table shows the mapping between the Stretch property and the equivalent for the Visual Basic 2008 PictureBox control.

Stretch Property Equivalents

Visual Basic 6.0

Visual Basic 2008 Equivalent

Stretch = False

PictureBoxSizeMode = Normal

Stretch = True

PictureBoxSizeMode = StretchImage

When a Visual Basic 6.0 application is upgraded to Visual Basic 2008, any Image controls are upgraded to PictureBox controls.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.