O'Reilly logo

Programming Windows® Services with Microsoft® Visual Basic® 2008 by Michael Gernaey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring a Service to Interact with the Desktop

By selecting Allow Service To Interact With Desktop, you will be able to send user input, such as keyboard input, dialog boxes, and so on, to the currently logged-on user. So you should only use this configuration to send information to a user who you know is logged on to the computer.

Before we begin I must again reiterate that this should only be done under required circumstances. The following code should never be placed onto a production system.

Getting Started with Creating the Interactive Service

Clear the application event log. To do this, Click Start, click Run, and type eventvwr at the command prompt. Right-click Application Log and choose Clear All Entries. Click No when prompted to save ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required