What's New in Components and Component Authoring
You can easily create your own components in code or assemble them from the sophisticated components in the .NET Framework classes, using either Visual Basic or C#. You can use non-visual components and associated features to easily incorporate resources such as message queues, event logs, and performance counters into your applications.
The .NET Framework classes greatly expand the component programming capabilities of Visual Studio. Instead of a limited set of base classes, you have a large library of sophisticated components that you can use to assemble applications, or to derive high-quality components of your own.
Visual Basic Note For an overview of how the Visual Basic language differs from previous versions, see Language Changes in Visual Basic.
What's New in Visual Basic .NET 2002
Visual Basic .NET 2003 includes the following features, which were introduced in Visual Basic .NET 2002.
- Enhanced RAD Support for Creating Your Own Components
- The new RAD (rapid application development) support makes authoring controls and non-visual components as easy as creating forms. Use inheritance to start from an existing component, and add other components to build in the functionality you need. For details, see Component Authoring.
- Enhanced RAD Support for Creating Your Own Windows Controls
- When you select the Windows Control Library project template, Visual Studio creates a UserControl class that inherits from System.Windows.Forms.UserControl. If you add a Custom Control item to your project, you will get a CustomControl class that inherits from System.Windows.Forms.Control. For details, see Control Authoring for Windows Forms.
- Create Your Own Web Controls
- Visual Studio provides a Web Control Library project template, which automatically creates a WebControl class that inherits from System.Web.UI.WebControls.WebControl. For details, see Developing ASP.NET Server Controls in the .NET Framework Developer's Guide.
- .NET Framework Classes for Component Authoring
- Inherit from the Component class or implement the IComponent interface to create your own component. For details, see Component Class, IComponent Interface and Component Model Namespaces in Visual Studio.
- Messaging Components
- You can create component instances that expose Microsoft Message Queuing functionality, allowing you to interact with message queues on local and remote computers. For details, see Creating Messaging Components.
- System Monitoring Components
- You can create instances of components that allow you to monitor and interact with a variety of system resources such as performance counters, event logs, services, and processes. For details, see Creating System Monitoring Components.
- Timed Components
- You can create server-based components that raise events on a recurring schedule or interval. For details, see Creating File System and Timer Components.
- File System and Directory Components
- You can create component instances that interact with file and directory structures, allow you to watch for and react to changes to a directory or file, or retrieve information about a system's directory structure. For details, see Creating File System and Timer Components.
- Server Explorer
- You can use the new Server Explorer tool to examine the resources that are available on servers to which you have network access, to verify the creation of resources you create, and to easily create components in your applications that reference existing resources. For details, see Introduction to Server Explorer
- Common Language Runtime
- The common language runtime is designed to simplify the creation and use of components. An important aspect of this simplification is enhanced interoperability between components written using different programming languages. For details, see Common Language Runtime.
- Deploy Shared Components
- You can create packages for sharing components that are used by multiple applications, eliminating versioning problems. For details, see Merge Module Projects.
What's New in Visual Basic and Visual C# | What's New in Visual Studio .NET | What's New in the Visual Basic Language | What's New in Windows Forms and Controls | What's New in Web Development | Component Authoring Changes in Visual Basic .NET