VisualBasic.Compatibility Namespace
Functions and objects in the VisualBasic.Compatibility namespace are provided for use by the Visual Basic 6.0 to Visual Basic 2008 upgrade tools. In most cases, they duplicate functionality that can be achieved using other parts of the .NET Framework; they are necessary only where the Visual Basic 6.0 code model differs significantly from the .NET implementation.
Functions and Objects in the Namespace
The following tables list functions and objects in the VisualBasic.Compatibility namespace.
VisualBasic.Compatibility Functions
Function |
Description |
---|---|
Duplicates Visual Basic 6.0 functionality of assigning an array to a variant. |
|
Used in format conversion. |
|
Duplicates the Visual Basic 6.0 Eqv (equivalence) operator. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in converting Visual Basic 6.0 fonts to Visual Basic 2008 Font objects. |
|
Used in format conversion. |
|
Duplicates the Visual Basic 6.0 Format function. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Duplicates the Visual Basic 6.0 Screen.ActiveControl property. |
|
Duplicates the functionality of the Cancel property of a Visual Basic 6.0 CommandButton. |
|
Duplicates the functionality of the Default property of a Visual Basic 6.0 CommandButton. |
|
Duplicates the Visual Basic 6.0 App.EXEName property. |
|
Duplicates the Visual Basic 6.0 App.HInstance property. |
|
Duplicates the functionality of the ItemData property of a Visual Basic 6.0 ListBox or ComboBox. |
|
Duplicates the functionality of retrieving a value from a list in a Visual Basic 6.0 ListBox or ComboBox. |
|
Duplicates the Visual Basic 6.0 App.Path property. |
|
Used in format conversion. |
|
Used in format conversion. |
|
Used in format conversion. |
|
Used in format conversion. |
|
Duplicates the Visual Basic 6.0 Imp (implication) operator. |
|
Used in format conversion. |
|
Used in format conversion. |
|
Duplicates the Visual Basic 6.0 LoadResData function. |
|
Duplicates the Visual Basic 6.0 LoadResPicture function. |
|
Duplicates the Visual Basic 6.0 LoadResString function. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Duplicates the Visual Basic 6.0 SendKeys function. |
|
Duplicates the functionality of the Cancel property of a Visual Basic 6.0 CommandButton. |
|
Duplicates the functionality of the Default property of a Visual Basic 6.0 CommandButton. |
|
Duplicates the functionality of the ItemData property of a Visual Basic 6.0 ListBox or ComboBox. |
|
Duplicates the functionality of setting a value in a list in a Visual Basic 6.0 ListBox or ComboBox. |
|
Used with LoadRes functions when a resource file uses a non-standard naming convention. |
|
Duplicates the functionality of the Show method of a Visual Basic 6.0 form. |
|
Used when converting Debug.Print statements that contain the Tab or Spc keywords. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Duplicates the Visual Basic Screen.TwipsPerPixelX property. |
|
Duplicates the Visual Basic Screen.TwipsPerPixelY property. |
|
Used for coordinate conversion. |
|
Used for coordinate conversion. |
|
Duplicates the functionality of the ValidateControls method of a Visual Basic 6.0 form. |
|
Duplicates the functionality of the WhatsThisMode method of a Visual Basic 6.0 form. |
|
Used for converting the z-order of controls. |
VisualBasic.Compatibility Objects
Object |
Description |
---|---|
Parent class for Visual Basic 6.0 control array emulation. |
|
Parent class for emulated arrays of ActiveX controls. |
|
Emulates a Visual Basic 6.0 control array of CommandButton controls. |
|
Emulates a Visual Basic 6.0 control array of CheckBox controls. |
|
Emulates a Visual Basic 6.0 control array of ListBox controls with the Style property set to Checked. |
|
Emulates a Visual Basic 6.0 control array of ComboBox controls. |
|
Emulates a Visual Basic 6.0 DirListBox control. |
|
Emulates a Visual Basic 6.0 control array of DirListBox controls. |
|
Emulates a Visual Basic 6.0 DriveListBox control. |
|
Emulates a Visual Basic 6.0 control array of DriveListBox controls. |
|
Emulates a Visual Basic 6.0 FileListBox control. |
|
Emulates a Visual Basic 6.0 control array of FileListBox controls. |
|
Emulates Visual Basic 6.0 fixed-length strings. |
|
Emulates a Visual Basic 6.0 control array of Frame controls. |
|
Emulates a Visual Basic 6.0 control array of HScrollBar controls. |
|
Emulates a Visual Basic 6.0 control array of Label controls. |
|
Emulates a Visual Basic 6.0 control array of ListBox controls. |
|
Emulates the ItemData property of a ListBox control. |
|
Emulates a Visual Basic 6.0 control array of Menu controls. |
|
Emulates a Visual Basic 6.0 control array of PictureBox controls that contain child controls. |
|
Emulates a Visual Basic 6.0 control array of PictureBox controls. |
|
Emulates a Visual Basic 6.0 control array of OptionButton controls. |
|
Emulates a Visual Basic 6.0 control array of TabStrip controls. |
|
Emulates a Visual Basic 6.0 control array of TextBox controls. |
|
Emulates a Visual Basic 6.0 control array of Timer controls. |
|
Emulates a Visual Basic 6.0 control array of VScrollBar controls. |
See Also
Concepts
Visual Basic 6.0 Compatibility Library