通过vb.net删除事件日志 [英] Remove Event Log by vb.net

查看:235
本文介绍了通过vb.net删除事件日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过我的项目将海关Windows服务和事件日志添加到Windows服务和事件查看器.我必须取消安装正在创建的Windows服务.但是不能通过命令提示符从Windows事件查看器中删除创建海关的EventLog..
如何通过命令提示符删除创建自定义EventLog的信息?
请帮助我...

I add customs windows Service & event log to Windows Service & Event Viewer through my project. I have to unintall the creating Windows Service. But not remove the creating customs EventLog from windows Event Viewer through command prompt..
How will I remove the creating my custom EventLog through command prompt???
please help me...

推荐答案

在注册表中,转到[HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog]
并删除您的自定义日志文件夹.

顺便说一句,您可以通过简单的Google搜索找到答案.
In the registry, go to [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog]
and delete your custom log folder.

BTW, you could find the answer with a simple google search.


这篇关于通过vb.net删除事件日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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