如何在已安装的控制面板程序列表中生成例外报告。 [英] How to generate exeception reports in control panel programs list which were installed.
本文介绍了如何在已安装的控制面板程序列表中生成例外报告。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我想创建一个批处理文件,它将运行并扫描我的系统控制面板和事件日志,并需要生成异常报告。异常格式需要存储为文本格式或单词。我们将使用例外来解决问题。
我尝试过:
大家好,
需要你的想法来实现这个代码。
Hi I want to create a batch file which will run and scan my system control panel and event logs and need to generate a report of exceptions. The exception format need to store as text format or word. we will use the exceptions to resolve the issues.
What I have tried:
Hi All,
Need your ideas to implements this code.
推荐答案
如果你谷歌这句话;
c#.net列表已安装的程序
您将获得一个列表以及有关如何枚举已安装程序的大量示例,只有你知道你的异常是什么意思,一旦你开始写作,如果你遇到困难,请回到源代码获取帮助。
If you Google the phrase;
c# .net list installed programs
You will get a list back and lots of examples on how to enumerate installed programs, only you know what you mean by an exception, once you start writing if you hit a difficulty come back with source to get help.
用于阅读Windows 事件日志,请参阅此文章:阅读和使用C#.NET清除Windows事件日志使用Andras Nemes进行.NET练习 [ ^ ]
要获取已安装程序的列表,请参阅:获取C#中系统的已安装应用程序列表 [ ^ ]
For reading the Windows event log, see this article: Reading and clearing a Windows Event Log with C# .NET | Exercises in .NET with Andras Nemes[^]
For getting a list of installed programs, see: Get List of Installed Applications of System in C#[^]
这篇关于如何在已安装的控制面板程序列表中生成例外报告。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文