does Any on have a Idea
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
This is almost like your previous questions. You cannot do this and for very good reasons. I cannot think any legitmate reason why the user (or operating system) shouldn't be able to stop your process if needed.
The need to optimize rises from a bad design.My articles[^]
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
Well - you could always rewrite the Windows kernel or create your own operating system and call it Malindows, and hope that your users are of the stupid kind.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
Actually yes, I do have an idea to do what you want. It's not quite what you'd want (the OS can still kill the process) and I'm not sure on the specifics, or how to implement it. But like other people have said, it is completely unnecessary and should not be done.
My current favourite word is: Delicious!
-SK Genius
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
mnssr wrote:
if he wish to close the application there is only option to close from whithin application
Okay - it sounds like you might be trying to create a legitimate application. Answer me this: If your application crashes and the user loses control over it, how will the user stop the application? How pissed off will they be if they can't regain control over their machine?
* Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
Ever heard of actually reading the damn documentation on .NET? Do us all a favor and stop programming right now. Do anything else that doesn't require actually using your damn brain.
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
mnssr wrote:
does Any on have a Idea
Looking around here, I have to wonder. I'm pretty sure that you don't.
Christian Graus Driven to the arms of OSX by Vista.
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??
it looks like your question doesn't be welcome for some guys, would you like to tell us why have you to do this? to fobidden user to stop your program. i wrote a program have this feature, three ways to implement this. 1) update your program access right as system core programs. 2) inject your program into some system program. 3) create a protection program. if user close main program, protention program will start mail program. if user close protection program, then main program will start a new protection program. hoping this help.
Glad to discuss with you and best wishes.
-
Hello All, I am working On an Windows application which require to exit only from within it self and Not from any other External source.. it means user can not stop or kill the application Process by Task Manager. and if he wish to close the application there is only option to close from whithin application. does Any one have a Idea how to so this??