Szerkesztés

Megosztás a következőn keresztül:


Microsoft.VisualBasic.Compatibility.VB6 Namespace

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 ADO Data Control, which enabled you to create a connection to a database using Microsoft ActiveX Data Objects (ADO).

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 Data Environment in applications that have been upgraded from 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 WebClass projects to run in ASP.NET.

WebClassContainingClassNotOptional

Raises an Exception if the ContainingClass value is missing.

WebClassCouldNotFindEvent

Raises an Exception for a missing event parameter in a WebClass.

WebClassNextItemCannotBeCurrentWebItem

Raises an Exception in a WebClass.

WebClassNextItemRespondNotFound

Raises an Exception in a WebClass.

WebClassUserWebClassNameNotOptional

Raises an Exception if the UserWebClassName value is missing.

WebClassWebClassFileNameNotOptional

Raises an Exception if the WebClassFileName value is missing.

WebClassWebItemNotValid

Raises an Exception if the WebItem value is not valid.

WebItem

Enables upgraded Visual Basic 6.0 WebClass projects to run in ASP.NET.

WebItemAssociatedWebClassNotOptional

Raises an Exception if the AssociatedWebClass value for a WebItem is missing.

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 Name value for a WebItem is missing.

WebItemNoTemplateSpecified

Raises an Exception if the Template value for a WebItem is missing.

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 Structure that contains data that is used internally by an application that has been upgraded from Visual Basic 6.0.

DBBINDING

Provides a Structure that represents an ADO binding in an application that has been upgraded from Visual Basic 6.0.

DBCOLUMNINFO

A Structure that contains data that is used internally by an application that has been upgraded from Visual Basic 6.0.

DBID

Provides a Structure that is used internally in an application that has been upgraded from Visual Basic 6.0.

DBPROPIDSET

Provides a Structure for use in an application that has been upgraded from Visual Basic 6.0.

UGUID

Provides a Structure that represents a Guid in an application that has been upgraded from Visual Basic 6.0.

UNAME

Provides a Structure that represents a pointer to a Name property in an application that has been upgraded from Visual Basic 6.0.

Interfaces

DBinding

Provides a managed equivalent of the DBinding interface from the Microsoft Data Binding Collection library (msbind) for use in applications upgraded from Visual Basic 6.0.

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 IAccessor interface for use by applications upgraded from Visual Basic 6.0.

IChapteredRowset

Provides an implementation of the OLE DB IAccessor interface for use by applications upgraded from Visual Basic 6.0.

IColumnsInfo

Provides an implementation of the OLE DB IColumnInfo interface for use by applications upgraded from Visual Basic 6.0.

IConnectionPoint

Provides an implementation of the OLE DB IConnectionPoint interface for use by applications upgraded from Visual Basic 6.0.

IConnectionPointContainer

Provides an implementation of the OLE DB IConnectionPointContainer interface for use by applications upgraded from Visual Basic 6.0.

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 IEnumConnectionPoints interface.

IEnumConnections

Manages the definition of the IEnumConnections interface.

IRowPosition

Provides an implementation of the OLE DB IRowPosition interface for use by applications upgraded from Visual Basic 6.0.

IRowPositionChange

Provides an implementation of the OLE DB IRowPositionChange interface for use by applications upgraded from Visual Basic 6.0.

IRowset

Provides an implementation of the OLE DB IRowset interface for use by applications upgraded from Visual Basic 6.0.

IRowsetChange

Provides an implementation of the OLE DB IRowsetChange interface for use by applications upgraded from Visual Basic 6.0.

IRowsetIdentity

Provides an implementation of the OLE DB IRowsetIdentity interface for use by applications upgraded from Visual Basic 6.0.

IRowsetInfo

Provides an implementation of the OLE DB IRowsetInfo interface for use by applications upgraded from Visual Basic 6.0.

IRowsetNotify

Provides an implementation of the OLE DB IRowsetNotify interface for use by applications upgraded from Visual Basic 6.0.

Enums

ADODC.BOFActionEnum

Provides constants for compatibility with the Visual Basic 6.0 BOFAction property.

ADODC.EOFActionEnum

Provides constants for compatibility with the Visual Basic 6.0 EOFAction property.

ADODC.OrientationEnum

Provides constants for compatibility with the Visual Basic 6.0 Orientation property.

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 Show method.

LoadResConstants

Provides constants for compatibility with the Visual Basic 6.0 LoadResPicture function.

MouseButtonConstants

Provides constants for compatibility with the shift parameter mask constants in Visual Basic 6.0.

ScaleMode

Provides constants for compatibility with the ScaleMode constants in Visual Basic 6.0.

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 UpdateMode method.

ZOrderConstants

Provides constants for compatibility with the Visual Basic 6.0 ZOrder method.

Delegates

ADODC.EndOfRecordsetDelegate

Represents the method that will handle an event.

ADODC.ErrorDelegate

Represents the method that will handle an Error event.

ADODC.FetchCompleteDelegate

Represents the method that will handle a FetchComplete event.

ADODC.FetchProgressDelegate

Represents the method that will handle a FetchProgress event.

ADODC.FieldChangeCompleteDelegate

Represents the method that will handle a FieldChange event.

ADODC.MoveCompleteDelegate

Represents the method that will handle a MoveComplete event.

ADODC.RecordChangeCompleteDelegate

Represents the method that will handle a RecordChangeComplete event.

ADODC.RecordsetChangeCompleteDelegate

Represents the method that will handle a RecordsetChangeComplete event.

ADODC.WillChangeFieldDelegate

Represents the method that will handle a WillChangeField event.

ADODC.WillChangeRecordDelegate

Represents the method that will handle a WillChangeRecord event.

ADODC.WillChangeRecordsetDelegate

Represents the method that will handle a WillChangeRecordset event.

ADODC.WillMoveDelegate

Represents the method that will handle a WillMove event.

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.

See also