如何从任务管理器应用程序中关闭打开的文件。 [英] How to close open file from the task manager application.
本文介绍了如何从任务管理器应用程序中关闭打开的文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我打开了3个word文档。现在我想以编程方式关闭其中一个打开的3个文档。当word文档打开时,文档被windows锁定。我想找到使用该特定文档并希望终止该进程的进程。但同时我不想关闭其他打开的文档。
解决方案
http://social.msdn.microsoft .COM /论坛/ vstudio / EN-US / 8c89fd55-0571-444f-a3df-ce47839ed5aa /怎么就杀最excelexe - 过程 - 在任务管理器按使用-C [< a href =http://social.msdn.microsoft.com/Forums/vstudio/en-US/8c89fd55-0571-444f-a3df-ce47839ed5aa/how-to-kill-the-excelexe-process-at-task- manager-by-using-ctarget =_ blanktitle =New Window> ^ ]
http://stackoverflow.com/questions/838261/handling-end-process-of-a-windows-app [ ^ 一>
I have 3 word document which are opened. Now i want to close one of that opened 3 document programatically. When word document is open that time that document is locked by windows. I want to find that process which uses that specific document and want to kill that process. But simultaneously i don't want to close my other open documents.
解决方案
http://social.msdn.microsoft.com/Forums/vstudio/en-US/8c89fd55-0571-444f-a3df-ce47839ed5aa/how-to-kill-the-excelexe-process-at-task-manager-by-using-c[^]
http://stackoverflow.com/questions/838261/handling-end-process-of-a-windows-app[^]
这篇关于如何从任务管理器应用程序中关闭打开的文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文