Share via


Controls and Programmable Objects Compared in Different Languages and Libraries

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

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

Visual FoxPro object

ComboBox

ComboBox

DropDownList

n/a

CComboBox Class

n/a

ComboBox

ImageCombo

ComboBox

n/a

n/a

CComboBoxEx Class

n/a

Image

CheckBox

CheckBox

CheckBox

CheckBoxList

HtmlInputCheckBox

CButton Class

n/a

CheckBox

CommandButton

Button

Button

LinkButton

ImageButton

HtmlInputButton

HtmlButton

CButton Class

n/a

CommandButton

Frame

GroupBox

Panel

FlowLayoutPanel

TableLayoutPanel

Panel

n/a

n/a

n/a

n/a

OptionButton

RadioButton

RadioButton

RadioButtonList

HtmlInputRadioButton

CButton Class

n/a

OptionButton

OptionGroup

CommonDialog

FileDialog

PrintDialog

ColorDialog

FontDialog

n/a

n/a

CCommonDialog Class

n/a

CommonDialog

GETFILE( )

GETDIR( )

ListBox

ListBox

ListBox

HtmlSelect

CListBox Class

n/a

ListBox

FileSystemObject

Classes in System.IO

n/a

n/a

CFile Class

n/a

Miscellaneous functions

HScrollBar

VScrollBar

HscrollBar

VscrollBar

n/a

n/a

CScrollBar Class

n/a

n/a

COOLBar

ToolStrip

n/a

n/a

CReBarCtrl Class

n/a

Toolbar

Label

Label

Label

n/a

CStatic

n/a

Label

TextBox

TextBox

TextBox

HtmlInputText

CEdit Class

n/a

TextBox

EditBox

MaskedEdBox

MaskedTextBox

n/a

n/a

n/a

n/a

n/a

Menu

ToolStrip

MainMenu

ContextMenu

Menu

n/a

CMenu Class

n/a

Menu commands

Animation

Images on controls support animated GIFs

n/a

n/a

CAnimateCtrl Class

n/a

Image

Form

Form

n/a

HtmlForm

CDialog Class

CFormView Class

CDialogImpl

CWindow

CWindowImpl Class

Form

FormSet

Timer

Timer

n/a

n/a

CWnd::SetTimer

n/a

Timer

DataGrid

DataGridView

DataGrid

GridView

DataList

Repeater

HtmlTable

n/a

n/a

Grid

DateTimePicker

DateTimePicker

n/a

n/a

CDateTimeCtrl Class

n/a

n/a

ImageList

ImageList

n/a

n/a

CImageList Class

n/a

ImageList

ListView

ListView

n/a

n/a

CListCtrl Class

n/a

ListView

Internet Transfer

WebBrowser

Classes in System.Net

n/a

HtmlInputFile

CHttpConnection Class

CFtpConnection Class

n/a

Web Browser

MonthView

MonthCalendar

Calendar

n/a

CMonthCalCtrl Class

n/a

Calendar

MonthView

ProgressBar

ProgressBar

n/a

n/a

CProgressCtrl Class

n/a

ProgressBar

PictureBox

PictureBox

Image

HtmlInputImage

CPictureHolder Class

CImage Class

Image

RichTextBox

RichTextBox

n/a

n/a

CRichEditCtrl Class

n/a

RichTextBox

SSTab

TabStrip

TabControl

n/a

n/a

CTabCtrl Class

n/a

SSTab

StatusBar

StatusStrip

StatusBar

n/a

n/a

CStatusBarCtrl Class

n/a

StatusBar

Slider

TrackBar

n/a

n/a

CSliderCtrl Class

n/a

Slider

Toolbar

ToolStrip

Toolbar

n/a

n/a

CToolBarCtrl

n/a

Toolbar

TreeView

TreeView

TreeView

n/a

CTreeCtrl Class

n/a

TreeView

UpDown

NumericUpDown

DomainUpDown

n/a

n/a

CSpinButtonCtrl Class

n/a

Spinner

WinSock

Classes in System.Net

n/a

n/a

CAsyncSocket Class

n/a

WinSock

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 Server Controls.

See Also

Concepts

Control Classes

Other Resources

Windows Forms Controls

ATL Window Classes

Language Equivalents

Windows Forms Controls for Visual Basic 6.0 Users