|
-
Oct 10th, 2008, 04:37 AM
#1
HOW: Starting a service/process that cannot be stopped/ended.
I have seen some processes/services that cannot be stopped (complains of invalid access) and I want to emulate it, could you guys point me to the right direction to take?
-
Oct 10th, 2008, 04:55 AM
#2
Re: HOW: Starting a service/process that cannot be stopped/ended.
This has been asked many times in this forum. Just search for it and you will find a lot many of them.
Pradeep
-
Oct 10th, 2008, 06:08 AM
#3
Re: HOW: Starting a service/process that cannot be stopped/ended.
-
Oct 10th, 2008, 07:16 AM
#4
Re: HOW: Starting a service/process that cannot be stopped/ended.
That can be valuable but I find it awkward to name my application as such... Is there any other way?
-
Oct 16th, 2008, 11:11 AM
#5
Re: HOW: Starting a service/process that cannot be stopped/ended.
Couldnt you just check out the QueryUnload closing argument and see if its vbTaskManager and prompt some kind of password input form?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 17th, 2008, 09:21 AM
#6
Re: HOW: Starting a service/process that cannot be stopped/ended.
 Originally Posted by RobDog888
Couldnt you just check out the QueryUnload closing argument and see if its vbTaskManager and prompt some kind of password input form?
End Process wouldn't be detected by QueryUnload...
-
Jan 29th, 2009, 10:37 PM
#7
Re: HOW: Starting a service/process that cannot be stopped/ended.
I am still after this. My idea is to initiate another process and those process would 'monitor' each other such that when one is killed then the other one will just re-start it, I am contemplating on how should I go about this and would like to have your opinions.
-
Jan 29th, 2009, 11:06 PM
#8
Re: HOW: Starting a service/process that cannot be stopped/ended.
Doesn't Windows have a set as service option?
Edit:
Does this help?
Windows NT/2000:
http://support.microsoft.com/kb/137890
Windows NT/2000/XP/2003:
http://www.tacktech.com/display.cfm?ttid=197
Last edited by Nightwalker83; Jan 29th, 2009 at 11:31 PM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jan 30th, 2009, 06:35 AM
#9
Re: HOW: Starting a service/process that cannot be stopped/ended.
Thanks but I already know how to start a service using srvany but I am encountering some odd behavior with the application when it is turned into a service so I am still looking for alternatives.
-
Jan 30th, 2009, 08:41 AM
#10
Addicted Member
Re: HOW: Starting a service/process that cannot be stopped/ended.
Make sure all your user interface controls / forms etc are removed... services don't like them..
Have you tried to attach the debugger to see whats going on?
We have a similar setup where our service mysteriously stops when the backup is running... we also have a monitoring service that restarts the failed service.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|