VB to .NET

Intrinsic Control Mappings

The VB6 AI Migrator converts several Visual Basic 6.0 intrinsic controls/classes to their .NET equivalents.

The following list shows the source control and their .NET target:

VB6 Source .NET Equivalent
Vb.TextBox System.Windows.Forms.TextBox
Vb.ListBox System.Windows.Forms.ListBox
Vb.ComboBox System.Windows.Forms.ComboBo
Vb.DirListBox Microsoft.VisualBasic.Compatibility.VB6.DirListBox
Vb.FileListBox Microsoft.VisualBasic.Compatibility.VB6.FileListBox
Vb.Control System.Windows.Forms.Control
Vb.Form System.Windows.Forms.Form
Vb.MDIForm System.Windows.Forms.Form
Vb.Frame System.Windows.Forms.GroupBox
stdole.Font System.Drawing.Font
Vb.HScrollBar System.Windows.Forms.HScrollBar
Vb.VScrollBar System.Windows.Forms.VScrollBar
Vb.Image System.Windows.Forms.PictureBox
Vb.Label System.Windows.Forms.Label
Vb.Line System.Windows.Forms.Label
Vb.Menu System.Windows.Forms.ToolStripMenuItem
Vb.Timer System.Windows.Forms.Timer
Vb.CommandButton System.Windows.Forms.Button
Vb.CheckBox System.Windows.Forms.CheckBox
Vb.OptionButton System.Windows.Forms.RadioButton
Vb.PictureBox System.Windows.Forms.PictureBox
Vb.Printer Partially supported by using a Helper Class
Vb.UserControl System.Windows.Forms.UserControl
Vb.DriveListBox Microsoft.VisualBasic.Compatibility.VB6.DriveListBox
stdole.PictureIcon System.Drawing.Icon
stdole.StdPicture System.Drawing.Image
stdole.StdFont System.Drawing.Font
stdole.FontEvents System.Drawing.Font

 

Talk To An Engineer