Microsoft KB Archive/311300

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

Article ID: 311300

Article Last Modified on 4/24/2003

-

APPLIES TO


 * Microsoft Visual Basic .NET 2002 Standard Edition

-



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.

Keywords: kbmigrate kbpagedesigner kbprb KB311300

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.