473,320 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

System.Diagnostics.EventLog on Win9x

Does anyone know offhand how the EventLog acts on Win9x? Does it know to
create text logs or does it just raise an exception?

If anyone has any experience with this, I'd appreciate a brief answer. I
don't expect anyone to do my research for me.

Thanks!
Jeff
Nov 20 '05 #1
4 936
Jeff,

That's easy, it doesn't =) There is no event log on Win 98. While the
class will exist in the framework on installations on 98, it won't work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jeff Molby" <JeffMolby@C_mc_st.n_t> wrote in message
news:e6**************@tk2msftngp13.phx.gbl...
Does anyone know offhand how the EventLog acts on Win9x? Does it know to
create text logs or does it just raise an exception?

If anyone has any experience with this, I'd appreciate a brief answer. I
don't expect anyone to do my research for me.

Thanks!
Jeff

Nov 20 '05 #2
I figured as much, but I was wondering more about how the class behaves in
that situation. Does it raise an exception? Does it do nothing? Does it log
the entries in a plaintext file?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Jeff,

That's easy, it doesn't =) There is no event log on Win 98. While the class will exist in the framework on installations on 98, it won't work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jeff Molby" <JeffMolby@C_mc_st.n_t> wrote in message
news:e6**************@tk2msftngp13.phx.gbl...
Does anyone know offhand how the EventLog acts on Win9x? Does it know to
create text logs or does it just raise an exception?

If anyone has any experience with this, I'd appreciate a brief answer. I
don't expect anyone to do my research for me.

Thanks!
Jeff


Nov 20 '05 #3
It throws an exception.

Willy.

"Jeff Molby" <JeffMolby@C_mc_st.n_t> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I figured as much, but I was wondering more about how the class behaves in
that situation. Does it raise an exception? Does it do nothing? Does it
log
the entries in a plaintext file?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Jeff,

That's easy, it doesn't =) There is no event log on Win 98. While

the
class will exist in the framework on installations on 98, it won't work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jeff Molby" <JeffMolby@C_mc_st.n_t> wrote in message
news:e6**************@tk2msftngp13.phx.gbl...
> Does anyone know offhand how the EventLog acts on Win9x? Does it know
> to
> create text logs or does it just raise an exception?
>
> If anyone has any experience with this, I'd appreciate a brief answer.
> I
> don't expect anyone to do my research for me.
>
> Thanks!
> Jeff
>
>



Nov 20 '05 #4
Thanks man.

"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It throws an exception.

Willy.

"Jeff Molby" <JeffMolby@C_mc_st.n_t> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I figured as much, but I was wondering more about how the class behaves in that situation. Does it raise an exception? Does it do nothing? Does it
log
the entries in a plaintext file?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Jeff,

That's easy, it doesn't =) There is no event log on Win 98. While

the
class will exist in the framework on installations on 98, it won't work.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jeff Molby" <JeffMolby@C_mc_st.n_t> wrote in message
news:e6**************@tk2msftngp13.phx.gbl...
> Does anyone know offhand how the EventLog acts on Win9x? Does it know
> to
> create text logs or does it just raise an exception?
>
> If anyone has any experience with this, I'd appreciate a brief answer. > I
> don't expect anyone to do my research for me.
>
> Thanks!
> Jeff
>
>



Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeff Molby | last post by:
Does anyone know offhand how the EventLog acts on Win9x? Does it know to create text logs or does it just raise an exception? If anyone has any experience with this, I'd appreciate a brief...
0
by: Damien McCartney via .NET 247 | last post by:
Simon, did you ever find a resolution to this, I am having the sameproblem (with identical code and the reference exists in theregistry) but if i run the same code again the event willpopulate the...
1
by: spp | last post by:
How can I save the contents of System events into a new file and the clear this event log. I want to do programaticaly something like using event viewer with Save Log File As... and then Clear all...
5
by: David Conorozzo | last post by:
I am able to create new sources using CreateEventSource. I can call GetEventLogs, I can delete sources, I can see if sources exist BUT, as soon as I try a "WriteEntry", I get an exception: ...
1
by: SQLScott | last post by:
I am using the System.ServiceProcess methods to look at the status of several services. It will tell me if it is Stopped, Started, etc. But how do I tell if a service is Not Responding, or Hung?...
5
by: Ankit Aneja | last post by:
This is my problem. I am using Visual 2003, .Net framework 1.1 and the Application Block I configured the DAAB using the Enterprise Library Configuration now this is the error which is coming ...
1
by: martin | last post by:
Hi, I'm having some problems with the System.Diagnostics.EventLog class in .NET 2.0 I need to recreate an event message source inside a new log but the messages keeps ending up in the old...
0
by: jammendolia | last post by:
Hello all, I am having an intermittent exception occur when writing the the eventlog from a windows service application written in c#, running on a Win2k SP4 server. Here's the code: ...
8
by: =?Utf-8?B?U3RldmVU?= | last post by:
Under Vista, my program, when reading the system event log, will not show the message saying I don't have the right permission. All I wisht to do is read the event log and show the error messages....
0
by: celine1984 | last post by:
i have develop an application using visual studio 2005 and i encounter the following problem. An unhandled exception was generated during the execution of the current web request. Information...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.