Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / August 2004



Tip: Looking for answers? Try searching our database.

_Ending other processes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henk Roos - 31 Aug 2004 12:12 GMT
Hi All,

I would like to know how I can end other processes from VB. Is it possible?
I want to run a background program that ends other programs at a specific
time.

Thanks
Henk
Ralph - 31 Aug 2004 14:37 GMT
> Hi All,
>
[quoted text clipped - 4 lines]
> Thanks
> Henk

Just to amplify.

Gaurav's suggestion is excellent and complete, but you should remember that
Windows, unlike some other OSs, provides only two ways to 'terminate' an
application. First, you can ask it politely if it doesn't mind quitting. If
the application listens and decides to shut itself down, then no problem.
But, second, if it ignores you. Your only recourse is to sneak up behind it
and garrote it.

The latter can occasionally have rather disturbing effects on any open
resources, memory, or other components that depend on the process, and may
leave the OS in less than a healthy state.

Creating a 'Boston Strangler' application may appear a convenient solution,
but may cause problems when released on the community at large.

-ralph
 
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



©2009 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.