Re: ShellExcute for non EXE files
Tech-Archive recommends: Speed Up your PC by fixing your registry
Besides being a Bad Idea for all those reasons, the issue about sending commands to the
user desktop, which is what I think I read, is never going to be allowed to happen. When
a service interacts with a desktop, the only thing it can do is create GUI entities that
can accept interactive user input. It can't interact in other ways.
joe
On Tue, 31 Jan 2006 23:42:44 +0000, David Lowndes <DavidL@xxxxxxxxxxxxxxx> wrote:
>>to do manually, just right click on the service in service.msc and goto
>>Logon tab, and check the box saying "Allow Service to Interact with
>>Desktop".
>
>Having a service interact with the desktop isn't recommended practice
>(security issues). See
>http://msdn.microsoft.com/library/en-us/dllproc/base/interactive_services.asp
>
>It may be better to have a separate program running in the user's
>context and have the service communicate with that to have it do the
>work.
>
>Dave
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
Relevant Pages
- Re: Dropdown event equivalent?
... >> combos that interact and cause a save record event, ... >> I'm constantly amazed at the amount of work developers have to go through ... >>> Alex Yakhnin, .NET CF MVP ... (microsoft.public.dotnet.framework.compactframework) - Re: Homework question relating to docview
... So a document would never interact ... The notion of a double-click is a view-related concept, ... clock radius and color. ... MVP Tips: http://www.flounder.com/mvp_tips.htm ... (microsoft.public.vc.mfc) - Re: Windows Server Indexing Services and ASP.NET
... John Timney ... ASP.NET MVP ... > I would like to know if it's possibile ... > to interact with Windows Server Indexing Services ... (microsoft.public.dotnet.framework.aspnet) |
|