This documentation is archived and is not being maintained.

Web Changes in Visual Basic .NET

Visual Basic 6.0 included several features that supported programming for the Web: Internet Information Services (IIS) applications (Web classes), DHTML applications, ActiveX documents, and ActiveX controls that could be downloaded to Web pages.

Visual Basic .NET was built from the ground up to support Web programming with features such as ASP.NET Web applications, XML Web services, and much more. Because Visual Basic .NET is built on a new architecture, Visual Basic 6.0 Web features either are no longer supported or have changed substantially; however, your knowledge of Web programming should help you to quickly transition to the Web technologies in Visual Basic .NET.

In Visual Basic 6.0, IIS applications used the Active Server Pages (ASP) model to create applications that ran on Internet Information Services. In Visual Basic .NET, ASP.NET technology allows you to create the application using Web Forms pages, and to create components using XML Web services. These technologies make programming for the Web very similar to programming for Windows in Visual Basic 6.0. For more information, see Introduction to ASP.NET Web Applications in Visual Studio.

Visual Basic 6.0 DHTML applications used the Dynamic HTML object model and Visual Basic code to create applications that could respond to actions performed by the user in a browser. Visual Basic .NET Web Forms expand upon the DHTML model, providing richer dynamic user-interface capabilities as well as client-side validation.

Visual Basic 6.0 ActiveX documents are not supported in Visual Basic .NET. You can still interoperate with ActiveX documents from your Visual Basic .NET Web applications, but development should be maintained in Visual Basic 6.0.

Visual Basic .NET also allows you to create ActiveX controls that can be downloaded to Web pages, or to use existing ActiveX controls in your Visual Basic .NET applications.

See Also

Creating Web Applications and Services | Working with Both Visual Basic 6.0 and Visual Basic .NET | Introduction to Visual Basic .NET for Visual Basic Veterans | Web Namespaces in Visual Studio