Making the Service Installable

Currently the service is not in an installable state. We have to add the proper components to allow the .NET Framework to install the service and make it compatible with the Win32 subsystem. In the Solution Explorer, right-click Tutorials.vb and select View Designer.

Making the Service Installable

In the Toolbox, expand the Components section and then drag a ServiceController onto the Tutorials.vb design surface.

Note

Note

If you do not see the Toolbox, click Toolbox on the View menu.

After you add the control, you will see it on the designer surface as ServiceController1. ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.