4/07/2010

Important setting when call exe from window services !

Windows service this will not work straight, you need to change some setting for the windows service. A service won't be able to show the GUI of an application, so if the application you are calling has any GUI you won't be able to see it. But the process will get kicked off and you can see the evidence in TaskManager. But we can enable the service to popup the UI by enabling this settings.
Allow Services to interact with desktop
Start > Run > Services.msc
Locate the services which you have created
Right click and select properties.
Select "Log On" tab on the top of the screen
Select "Allow Services to interact with desktop" check box.
Click on "Apply" and start the services.

Tell Me !

Powered by Blogger

Julian's Diary | What he happened | He wanna to share | Where he was | He likes | His flavours | 12 DECEMBER | How he did or did not