Microsoft.VisualBasic.Compatibility.VB6 Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains functions and objects provided use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008.
Classes
ADODC |
Provides compatibility with the Visual Basic 6.0 |
ADODCArray |
Provides a control array of ADODC controls. |
BaseControlArray |
Implements the basic functionality common to control arrays in applications upgraded from Visual Basic 6.0. |
BaseDataEnvironment |
Emulates a Visual Basic 6.0 |
BaseOcxArray |
Provides a control array of ActiveX controls. |
BindingCollectionEnumerator |
Supports a simple iteration over a binding collection in an application upgraded from Visual Basic 6.0. |
ButtonArray |
Provides a control array of Button controls. |
CheckBoxArray |
Provides a control array of CheckBox controls. |
CheckedListBoxArray |
Provides a control array of CheckedListBox controls. |
ColorDialogArray |
Provides a control array of ColorDialog controls. |
ComboBoxArray |
Provides a control array of ComboBox controls. |
DirListBox |
Displays directories and paths at run time. |
DirListBoxArray |
Provides a control array of DirListBox controls. |
DriveListBox |
Enables a user to select a valid disk drive at run time. |
DriveListBoxArray |
Provides a control array of DriveListBox controls. |
FileListBox |
Locates and lists files in the directory specified by the Path property at run time. |
FileListBoxArray |
Provides a control array of FileListBox controls. |
FixedLengthString |
Emulates the behavior of a Visual Basic 6.0 fixed-length string. |
FontDialogArray |
Provides a control array of FontDialog controls. |
GroupBoxArray |
Provides a control array of GroupBox controls. |
HScrollBarArray |
Provides a control array of HScrollBar controls. |
ImageListArray |
Provides a control array of ImageList controls. |
LabelArray |
Provides a control array of Label controls. |
ListBoxArray |
Provides a control array of ListBox controls. |
ListBoxItem |
Represents an item in a ListBox or ComboBox control in an application that was upgraded from Visual Basic 6.0. |
ListViewArray |
Provides a control array of ListView controls. |
MaskedTextBoxArray |
Provides a control array of MaskedTextBox controls. |
MBinding |
Enables Windows Forms controls to be bound to ADO recordsets. This type is a managed equivalent of the Visual Basic 6.0 msbind library. |
MBindingCollection |
Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0. |
MenuItemArray |
Provides a control array of MenuItem controls. |
OpenFileDialogArray |
Provides a control array of OpenFileDialog controls. |
PanelArray |
Provides a control array of Panel controls. |
PictureBoxArray |
Provides a control array of PictureBox controls. |
PrintDialogArray |
Provides a control array of PrintDialog controls. |
ProgressBarArray |
Provides a control array of ProgressBar controls. |
RadioButtonArray |
Provides a control array of RadioButton controls. |
RichTextBoxArray |
Provides a control array of RichTextBox controls. |
SaveFileDialogArray |
Provides a control array of SaveFileDialog controls. |
SRDescriptionAttribute |
Provides an attribute for use in upgrading Visual Basic 6.0 applications to Visual Basic. |
StatusBarArray |
Provides a control array of StatusBar controls. |
StatusStripArray |
Provides a control array of StatusStrip controls. |
Support |
Contains various utility functions for backward compatibility with Visual Basic 6.0. |
TabControlArray |
Provides a control array of TabControl controls. |
TextBoxArray |
Provides a control array of TextBox controls. |
TimerArray |
Provides a control array of Timer controls. |
ToolBarArray |
Provides a control array of ToolBar controls. |
ToolStripArray |
Provides a control array of ToolStrip controls. |
ToolStripMenuItemArray |
Provides a control array of ToolStripMenuItem controls. |
TreeViewArray |
Provides a control array of TreeView controls. |
VScrollBarArray |
Provides a control array of VScrollBar controls. |
WebBrowserArray |
Provides a control array of WebBrowser controls. |
WebClass |
Enables upgraded Visual Basic 6.0 |
WebClassContainingClassNotOptional |
Raises an Exception if the |
WebClassCouldNotFindEvent |
Raises an Exception for a missing event parameter in a WebClass. |
WebClassNextItemCannotBeCurrentWebItem | |
WebClassNextItemRespondNotFound | |
WebClassUserWebClassNameNotOptional |
Raises an Exception if the |
WebClassWebClassFileNameNotOptional |
Raises an Exception if the |
WebClassWebItemNotValid | |
WebItem |
Enables upgraded Visual Basic 6.0 |
WebItemAssociatedWebClassNotOptional |
Raises an Exception if the |
WebItemClosingTagNotFound |
Raises an Exception if the closing tag for a template associated with a WebItem is missing. |
WebItemCouldNotLoadEmbeddedResource |
Raises an Exception when an embedded resource specified in a WebItem is missing. |
WebItemCouldNotLoadTemplateFile |
Raises an Exception if a template file for a WebItem is missing. |
WebItemNameNotOptional |
Raises an Exception if the |
WebItemNoTemplateSpecified |
Raises an Exception if the |
WebItemTooManyNestedTags |
Raises an Exception if the template for a WebItem contains too many nested tags. |
WebItemUnexpectedErrorReadingTemplateFile |
Raises an Exception if the template for a WebItem cannot be opened or read. |
Structs
CONNECTDATA |
A |
DBBINDING |
Provides a |
DBCOLUMNINFO |
A |
DBID |
Provides a |
DBPROPIDSET |
Provides a |
UGUID |
Provides a |
UNAME |
Provides a |
Interfaces
DBinding |
Provides a managed equivalent of the |
DBindingCollection |
Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0. |
IAccessor |
Provides an implementation of the OLE DB |
IChapteredRowset |
Provides an implementation of the OLE DB |
IColumnsInfo |
Provides an implementation of the OLE DB |
IConnectionPoint |
Provides an implementation of the OLE DB |
IConnectionPointContainer |
Provides an implementation of the OLE DB |
IDataFormat |
Provides support for the DataFormat property of the DBinding interface. |
IDataFormatDisp |
Provides support for the DataFormat property of the DBinding interface. |
IEnumConnectionPoints |
Manages the definition of the |
IEnumConnections |
Manages the definition of the |
IRowPosition |
Provides an implementation of the OLE DB |
IRowPositionChange |
Provides an implementation of the OLE DB |
IRowset |
Provides an implementation of the OLE DB |
IRowsetChange |
Provides an implementation of the OLE DB |
IRowsetIdentity |
Provides an implementation of the OLE DB |
IRowsetInfo |
Provides an implementation of the OLE DB |
IRowsetNotify |
Provides an implementation of the OLE DB |
Enums
ADODC.BOFActionEnum |
Provides constants for compatibility with the Visual Basic 6.0 |
ADODC.EOFActionEnum |
Provides constants for compatibility with the Visual Basic 6.0 |
ADODC.OrientationEnum |
Provides constants for compatibility with the Visual Basic 6.0 |
DBKINDENUM |
Provides an enumeration for use by the tools for upgrading Visual Basic 6.0 applications to Visual Basic. |
FormShowConstants |
Provides constants for compatibility with the Visual Basic 6.0 |
LoadResConstants |
Provides constants for compatibility with the Visual Basic 6.0 |
MouseButtonConstants |
Provides constants for compatibility with the shift parameter mask constants in Visual Basic 6.0. |
ScaleMode |
Provides constants for compatibility with the |
ShiftConstants |
Provides constants for compatibility with the shift parameter mask constants in Visual Basic 6.0. |
UpdateMode |
Provides constants for compatibility with the Visual Basic 6.0 |
ZOrderConstants |
Provides constants for compatibility with the Visual Basic 6.0 |
Delegates
ADODC.EndOfRecordsetDelegate |
Represents the method that will handle an event. |
ADODC.ErrorDelegate |
Represents the method that will handle an |
ADODC.FetchCompleteDelegate |
Represents the method that will handle a |
ADODC.FetchProgressDelegate |
Represents the method that will handle a |
ADODC.FieldChangeCompleteDelegate |
Represents the method that will handle a |
ADODC.MoveCompleteDelegate |
Represents the method that will handle a |
ADODC.RecordChangeCompleteDelegate |
Represents the method that will handle a |
ADODC.RecordsetChangeCompleteDelegate |
Represents the method that will handle a |
ADODC.WillChangeFieldDelegate |
Represents the method that will handle a |
ADODC.WillChangeRecordDelegate |
Represents the method that will handle a |
ADODC.WillChangeRecordsetDelegate |
Represents the method that will handle a |
ADODC.WillMoveDelegate |
Represents the method that will handle a |
Remarks
Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.