Udostępnij za pośrednictwem


Controls and Programmable Objects Compared in Various Languages and Libraries

This topic lists Visual Basic 6.0 controls, Windows Forms controls, ASP.NET and HTML server controls, and MFC and ATL classes.

All the Visual Studio languages can access the controls exposed by Windows Forms, ASP.NET server, and HTML server.

Table of Controls

Visual Basic 6.0 object

Windows Forms control

ASP.NET server control 1

HTML server control

MFC class

ATL class

ComboBox

ComboBox

DropDownList

n/a

CComboBox Class

n/a

ImageCombo

ComboBox

n/a

n/a

CComboBoxEx Class

n/a

CheckBox

CheckBox

CheckBox

CheckBoxList

HtmlInputCheckBox

CButton Class

n/a

CommandButton

Button

Button

LinkButton

ImageButton

HtmlInputButton

HtmlButton

CButton Class

n/a

Frame

GroupBox

Panel

FlowLayoutPanel

TableLayoutPanel

Panel

n/a

n/a

n/a

OptionButton

RadioButton

RadioButton

RadioButtonList

HtmlInputRadioButton

CButton Class

n/a

CommonDialog

FileDialog

PrintDialog

ColorDialog

FontDialog

n/a

n/a

CCommonDialog Class

n/a

ListBox

ListBox

ListBox

HtmlSelect

CListBox Class

n/a

FileSystemObject

Classes in System.IO

n/a

n/a

CFile Class

n/a

HScrollBar

VScrollBar

HScrollBar

VScrollBar

n/a

n/a

CScrollBar Class

n/a

COOLBar

ToolStrip

n/a

n/a

CReBarCtrl Class

n/a

Label

Label

ListBox

n/a

CStatic

n/a

TextBox

TextBox

TextBox

HtmlInputText

CEdit Class

n/a

MaskedEdBox

MaskedTextBox

n/a

n/a

n/a

n/a

Menu

ToolStrip

MainMenu

ContextMenu

Menu

n/a

CMenu Class

n/a

Animation

Images on controls support animated GIFs

n/a

n/a

CAnimateCtrl Class

n/a

Form

Form

n/a

HtmlForm

CDialog Class

CFormView Class

CDialogImpl

CWindow

CWindowImpl Class

Timer

Timer

n/a

n/a

CWnd::SetTimer

n/a

DataGrid

DataGridView

DataGrid

GridView

DataList

Repeater

HtmlTable

n/a

n/a

DateTimePicker

DateTimePicker

n/a

n/a

CDateTimeCtrl Class

n/a

ImageList

ImageList

n/a

n/a

CImageList Class

n/a

ListView

ListView

n/a

n/a

CListCtrl Class

n/a

Internet Transfer

WebBrowser

Classes in System.Net

n/a

HtmlInputFile

CHttpConnection Class

CFtpConnection Class

n/a

MonthView

MonthCalendar

Calendar

n/a

CMonthCalCtrl Class

n/a

ProgressBar

ProgressBar

n/a

n/a

CProgressCtrl Class

n/a

PictureBox

PictureBox

Image

HtmlInputImage

CPictureHolder Class

CImage Class

RichTextBox

RichTextBox

n/a

n/a

CRichEditCtrl Class

n/a

SSTab

TabStrip

TabControl

n/a

n/a

CTabCtrl Class

n/a

StatusBar

StatusStrip

StatusBar

n/a

n/a

CStatusBarCtrl Class

n/a

Slider

TrackBar

n/a

n/a

CSliderCtrl Class

n/a

Toolbar

ToolStrip

ToolBar

n/a

n/a

CToolBarCtrl

n/a

TreeView

TreeView

TreeView

n/a

CTreeCtrl Class

n/a

UpDown

NumericUpDown

DomainUpDown

n/a

n/a

CSpinButtonCtrl Class

n/a

WinSock

Classes in System.Net

n/a

n/a

CAsyncSocket Class

n/a

1 ASP.NET includes Web server controls that offer functionality not available with Visual Basic 6.0 controls, such as a calendar control, Web page navigation controls, and Web site user login controls. For more information, see ASP.NET Web Server Controls.

See Also

Concepts

Control Classes

Other Resources

Windows Forms Controls

ATL Window Classes

Language Equivalents