oops - should have read the post more carefully. the framework
*should* raise a PlatformNotSupportedException exceptions for both 98
and ME, as in:
try {
EventLog obj = new EventLog("Application", ".", "MyApp");
obj.WriteEntry("Foo")
}
catch (PlatformNotSupportedException ex) {
//write to a file or something
}
see
http://msdn.microsoft.com/library/de...ewkwinsupp.asp
r.
Mark <mark@--somewhere--.com> wrote in message news:<Xn******************************@207.46.248. 16>...
ro***********@hotmail.com (Robbie Harris) wrote in
news:16*************************@posting.google.co m:
I believe System.Diagnostics.EventLog doesnt support '98 on account of
it not having one...
r.
That's what he said. However, it works on ME, which also doesn't have one.
As for the answer, I couldn't tell you.
Mark