Export (0) Print
Expand All

Component Programming Walkthroughs

Walkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.

The following walkthroughs will help orient you to the use of components, user controls, and threading in your Visual Basic and Visual C# applications:

Authoring a Component with Visual Basic .NET
Shows the development of a simple component in Visual Basic, illustrating the interaction between client and component, object lifetime and circular references, debugging clients and components, and the use of shared methods and instance methods.
Authoring a Component with Visual C#
Shows the development of a simple component in Visual C#, illustrating the interaction between client and component, object lifetime and circular references, debugging clients and components, and the use of shared methods and instance methods.
Creating Your Own Collection Class
Shows how you can create your own collection classes by inheriting from one of the many .NET Framework collection classes and adding code to implement your own custom functionality.
Authoring a User Control with Visual Basic .NET
Shows the development of a simple control in Visual Basic that inherits from the UserControl class, and how to inherit from an established user control.
Authoring a User Control with Visual C#
Shows the development of a simple control in Visual C# that inherits from the UserControl class, and how to inherit from an established user control.
Inheriting from a Windows Forms Control with Visual Basic .NET
Shows the development of a simple control in Visual Basic that inherits from a pre-existing Windows Forms control.
Inheriting from a Windows Forms Control with Visual C#
Shows the development of a simple control in Visual C# that inherits from a pre-existing Windows Forms control.
Authoring a Simple Multithreaded Component with Visual Basic
Demonstrates the development of a simple multithreaded component in Visual Basic, explaining how threads work and how to coordinate multiple threads in your component.
Authoring a Simple Multithreaded Component with Visual C#
Demonstrates the development of a simple multithreaded component in Visual, explaining how threads work and how to coordinate multiple threads in your component.
Creating a Queue and Working with Messages
Describes how to use a MessageQueue component instance to interact with Windows message queues.
Creating a Message Queue Transaction with COM+ Services
Shows how you can use COM+ services to wrap your message in a transaction.
Exploring Event Logs, Event Sources, and Entries
Describes how to use an EventLog component instance to interact with existing logs, create custom logs, and read and write values to logs.
Retrieving Categories and Counters
Describes how to use a PerformanceCounter component instance to retrieve lists of Windows performance counter categories on a server.
Changing and Retrieving Performance Counter Values
Describes how to use a PerformanceCounter component instance to retrieve and set raw and calculated values from a Windows performance counter.
Managing a Windows Process
Describes how to use the Process component to monitor and interact with Windows processes on a server.
Reacting to File System Events
Describes how to use a FileSystemWatcher component instance to monitor files and directories and react when changes occur.
Adding ActiveDirectory Objects
Describes how to use the DirectorySearcher component to interact with Active Directory file system structures.
Installing an Event Log Component
Describes how to use an installation component to configure server resources needed for your EventLog component instance.

See Also

Walkthroughs in Visual Basic and Visual C# | Visual Studio Walkthroughs | Samples and Walkthroughs | Visual Basic Code Example Topics

Show:
© 2014 Microsoft