473,410 Members | 1,946 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,410 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 15 '05 #1
4 1179
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 15 '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 15 '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 15 '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 15 '05 #5

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

Similar topics

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: ...
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
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,...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.