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



The information in this article applies to:

  • Microsoft Visual Basic .NET (2002)

This article was previously published under Q311300

SYMPTOMS

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.

CAUSE

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.

MORE INFORMATION

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.

Modification Type:MinorLast Reviewed:4/24/2003
Keywords:kbmigrate kbPageDesigner kbprb KB311300