VB6 versus WinForms

Many of the feature changes you most need to know about aren't visual; instead, they are the things that happen in the code that you write or that is generated for you as you design and program your application. However, there are new features of the Designer as well. Table A.1 summarizes the major changes.

Table A.1. VB6 versus WinForms/.NET
FeatureVB6WinForms/.NET
Object orientationYes, but no implementation inhertitanceYes
InheritanceInterface inheritance onlyInterface, implementation, and visual inheritance
Custom controlsActiveX Control projectDeriving from UserControl
Custom control hostingHad to program for multiple hostsThe CLR is the only host
Multiple-language supportNoYes
Multiple-platform supportNoYes (.NET Compact Framework, ...

Get Windows Forms Programming in Visual Basic .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.