You are currently offline, waiting for your internet to reconnect

PRB: Cannot Develop DHTML Applications, ActiveX Documents, and IIS Applications in Visual Basic .NET

This article was previously published under Q311300
This article has been archived. It is offered "as is" and will no longer be updated.
The following Microsoft Visual Basic 6.0 project types do not have a Visual Basic .NET equivalent:
  • ActiveX documents
  • Dynamic Hypertext Markup Language (DHTML) applications
  • Microsoft Internet Information Services (IIS) applications (WebClasses)
Visual Basic 6.0 ActiveX documents are not supported in Visual Basic .NET. You can still use ActiveX documents in your Visual Basic .NET Web applications. However, you can only develop ActiveX documents in Visual Basic 6.0.
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.
Visual Basic 6.0 includes several features that allow you to program for the Web:
  • ActiveX documents
  • DHTML applications
  • IIS applications (WebClasses)
  • ActiveX controls that can be downloaded to Web pages
Visual Basic 6.0 DHTML applications use the dynamic HTML Object Model (DOM) and Visual Basic code to create applications that can respond to a user's actions in a browser. In Visual Basic .NET, Web Forms expand on the DHTML model by providing richer dynamic user interface capabilities, as well as client-side validation.

In Visual Basic 6.0, IIS applications use the Active Server Pages (ASP) model to create applications that run on Internet Information Services. Under the .NET architecture, you can use Web Forms to create applications and Extensible Markup Language (XML) Web services to create components. With these new ASP.NET technologies, you can program for the Web similar to how you program for Windows in Visual Basic 6.0.

NOTE: WebClass projects will be upgraded to an ASP.NET Web application with a future release of the Visual Basic Upgrade Wizard.

Visual Basic .NET allows you to create Windows Forms controls that you can download to Web pages. You can also use existing ActiveX controls in your Visual Basic .NET applications. The Visual Basic .NET Windows Control Library project type replaces the Visual Basic 6.0 ActiveX Control project type.

You can install both Visual Basic .NET and Visual Basic 6.0 on the same computer and run them at the same time. You can also install and run applications that are written in Visual Basic .NET and Visual Basic 6.0 on the same computer.

Article ID: 311300 - Last Review: 10/24/2013 08:15:51 - Revision: 1.2

Microsoft Visual Basic .NET 2002 Standard Edition

  • kbnosurvey kbarchive kbmigrate kbpagedesigner kbprb KB311300