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.
Feature | VB6 | WinForms/.NET |
---|---|---|
Object orientation | Yes, but no implementation inhertitance | Yes |
Inheritance | Interface inheritance only | Interface, implementation, and visual inheritance |
Custom controls | ActiveX Control project | Deriving from UserControl |
Custom control hosting | Had to program for multiple hosts | The CLR is the only host |
Multiple-language support | No | Yes |
Multiple-platform support | No | Yes (.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.