防止从任务管理器关闭Vb.net并在关闭时重新启动 [英] Prevent from closing Vb.net from task manager and restarting if closed

查看:176
本文介绍了防止从任务管理器关闭Vb.net并在关闭时重新启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



任何人都可以帮我阻止任务经理使用Vb.net关闭申请表





先谢谢

Hello Everyone,

Can anyone help me preventing the closing of application form from task manager using Vb.net


Thanks in Advance

推荐答案

我看不到任何合法的理由。据我所知,没有合法可靠的方法来做这些事情,因为它会呈现一个安全线程。用户应始终有权终止任何进程。如果由于软件缺陷等某些原因导致整个系统其他进程的运行中断,那么这一权利对整个系统的功能至关重要。



我会建议一件事:如果你想做一些相当不寻常或有问题的事情,请始终提供你的详细动机并解释你的终极目标。没有多少人愿意把时间浪费在可能没有意义的事情上。



-SA
I cannot see any legitimate reasons for doing so. To best of my knowledge, there is no legitimate and reliable way of doing such things, because it would present be a security thread. A user should always have the right to terminate any process. This right is critical to the whole system functionality if some process, by some reasons like defects in software, starts to present a disruption to functioning of other processes of the whole system.

I would advise one thing: if you want to do something rather unusual or questionable, always provide your detailed motivation and explain your ultimate goals. Not many people will like to waste their time on something which might not make sense.

—SA


这篇关于防止从任务管理器关闭Vb.net并在关闭时重新启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆