Export (0) Print
Expand All

WebClass Class

Enables upgraded Visual Basic 6.0 WebClass projects to run in ASP.NET.

Namespace: Microsoft.VisualBasic.Compatibility.VB6
Assembly: Microsoft.VisualBasic.Compatibility (in microsoft.visualbasic.compatibility.dll)

public class WebClass
public class WebClass
public class WebClass
Not applicable.

When a Visual Basic 6.0 WebClass project is upgraded to Visual Basic Code Name "Orcas", it is converted to an ASP.NET Web-site project.

Declarations are added to your project: one for the WebClass and one for each WebItem and Template in the WebClass project. A Page_Load event procedure is added to the project. This creates first a WebClass object and then WebItem objects for each WebItem and Template associated with the Visual Basic 6.0 WebClass project. Finally, in the Page_Load event procedure, you will see a call to the WebClass Compatibility runtime: ProcessEvents. This enables the runtime to render the WebItem specified in the Request URL. This code is the only new code added to your upgraded project and serves only to emulate the underlying behavior of the Visual Basic 6.0 WebClass runtime.

System.Object
  Microsoft.VisualBasic.Compatibility.VB6.WebClass

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft