Create Windows Services
VB.NET provides easy access to Windows services, allowing you to tap into areas where VB6 developers weren't allowed.
by Gerardo Villeda
October 2002 Issue
Technology Toolbox: VB.NET
The Windows service application type was almost out of reach for Visual Basic 6 developers. Although tools provided the interface necessary to allow execution of a VB application as a Windows service, the end result was fragile and not as tightly integrated with the operating system as this type of application needed. With the release of Visual Studio .NET, creating Windows services is now a simple task available to all supported languages, including VB.NET.
The Windows service you'll create in this article provides a visual interface to display the threads being executed, along with their status. The interface provides the ability to abort and suspend a thread, as well as an option to resume execution of a thread suspended previously (see Figure 1).
Back to top
|