I am using Windows Server 2003 Enterprise Edition. I have a series of
custom event log files that were created by an application gone bad. They
are all showing up in the event viewer and I am not sure how to get rid of
them. Any advice, links or pointers? Please keep in mind that these are
NOT the system event log files. Thank you. 2 4595
PCC,
Have you tried the Delete method on the EventLog class? Also, have you
tried to unregister the source by calling the DeleteEventSour ce method on
the EventLog class?
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"PCC" <pc*****@hotmai l.com> wrote in message
news:u7******** ******@tk2msftn gp13.phx.gbl... I am using Windows Server 2003 Enterprise Edition. I have a series of custom event log files that were created by an application gone bad. They are all showing up in the event viewer and I am not sure how to get rid of them. Any advice, links or pointers? Please keep in mind that these are NOT the system event log files. Thank you.
I was hoping there was a UI way of doing it, but I just wrote a console app
and got it over with. It took all of 90 seconds. Thanks Nicholas.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:#Q******** ******@TK2MSFTN GP09.phx.gbl... PCC,
Have you tried the Delete method on the EventLog class? Also, have
you tried to unregister the source by calling the DeleteEventSour ce method on the EventLog class?
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"PCC" <pc*****@hotmai l.com> wrote in message news:u7******** ******@tk2msftn gp13.phx.gbl... I am using Windows Server 2003 Enterprise Edition. I have a series of custom event log files that were created by an application gone bad.
They are all showing up in the event viewer and I am not sure how to get rid
of them. Any advice, links or pointers? Please keep in mind that these
are NOT the system event log files. Thank you.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Lee |
last post by:
I have created a custom log for my apps to write to. Writing to the log seems
to be no problem, it's when I go to read it I get unexpected results. I have
an application that reads the log and displays it's contents in a grid, and
it also receives event notification from the log when it's updated. When the
event fires I get exactly the text that was logged in exactly the way I
logged, but when I read the entries from the log, or view them...
|
by: Stephen |
last post by:
I have got an event below to remove items from an arraylist and then to
rebind the arraylist to the datagrid subsequently deleting the appropriate
row. My problem is that my code makes sense and I think my logic seems fine
but when I click the button on my datagrid nothing seems to happen. Have you
any idea where Im going wrong. Was thinking it might have something to do
with my page load/ postback but not really sure. Can someone please...
|
by: Jonan |
last post by:
Hello,
For several reasons I want to replace the built-in memory management with
some custom built. The mem management itlsef is not subject to my question -
it's ok to the point that I have nice and working allocation deallocation
routines. However, I don't want to loose the nice extras of new operator,
like - constructor calling, typecasting the result, keeping the array size,
etc.
For another bunch of reasons, outside this scope I...
|
by: NateDawg |
last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if
anyone has some input it would sure help me out.
Ok, I’ve noticed a few gridview problems floating around the forum. Everyone
wants to do a java confirmation box when a user clicks the delete button.
Fair enough, basic user design rules state that you should always confirm a
delete action. There is also a consensus that the best way to do this is a
template...
|
by: Jeff User |
last post by:
Hello
..NET 1.1, VS 2003, C# & asp.net
I have tried to follow msdn instructions and samples but I can not get
an event to fire for this button on the datagrid.
There has to be something obvious missing here, but after 2 days I am
ready to explode ! Please help.
To create the Delete button I selected the grid in design view,
clicked the "Columns" property and added the Delete button in the
| |
by: rn5a |
last post by:
The .NET 2.0 documentation states the following:
When using a DataSet or DataTable in conjunction with a DataAdapter & a
relational data source, use the Delete method of the DataRow to remove
the row. The Delete method marks the row as Deleted in the DataSet or
DataTable but does not remove it. Instead when the DataAdapter
encounters a row marked as Deleted, it executes its DeleteCommand
method to delete the row at the data source. The...
|
by: amiga500 |
last post by:
Hello,
I have one basic simple question. When I have multiple records in the
datagrid as follows:
Code Product 1 Product 2 Product 3
11111 A B C
22222 D E F
33333 G H I
44444 J K L
|
by: =?Utf-8?B?UmljaA==?= |
last post by:
On a form - I have a datagridview which is docked to the entire form. The
datagridview allows users to Delete and/or Add Rows. On the Form_Load event
I Fill the datagridview source table with a sql DataAdapter (da)
da.SelectCommand.CommandText = "Select * from Servertbl1"
da.Fill(ds, "tbl1")
so far, so good. If I add a row to the datagridview I use the following
sqlDataAdapter code to update the server table - which works OK when...
|
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= |
last post by:
Actually, my installer package is not for a Windows Service, but for a
WinForms application.
Well, it is kind of both: this is a multi-project solution with its main
target being a WinForms application, but it also includes a Windows Service.
My custom install actions configuration includes output from a Class Library
project that contains the custom actions followed by the output of the
Windows Service project to register the service....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |