Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Service running Infinitely

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mkashif1@gmail.com - 28 Apr 2007 11:34 GMT
Hi,
I'm developing a service that should run infinitely and should not be
stoppable. The
user (any user even admin) should not be able to stop/terminate the
service.
Is there any way? or should I go for a normal other than service?
Any recommendations are appreciated.
thanks
Dick Grier - 28 Apr 2007 17:06 GMT
AFAIK, the only way to do what you want would be to use Windows Embedded
(XP) an build a system image that does not include the Control Panel and
other access to the Administrator Tools -- I suspect that there is no
practical way to do it otherwise.

Dick

Signature

Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.

Jigar Mehta - 29 Apr 2007 09:08 GMT
I think there must be a way by which you can override your StopService
function(I don't know the signature of the function but I am talking about a
function which is called whenever somebody stops the service!!) and just
ignore the stop command.

Regards,
Jigar Mehta

> AFAIK, the only way to do what you want would be to use Windows Embedded
> (XP) an build a system image that does not include the Control Panel and
> other access to the Administrator Tools -- I suspect that there is no
> practical way to do it otherwise.
>
> Dick

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.