VS2K5: Event Viewer Information Printout options, means & methods.
Event Log data is stored as *.evt files, in %windir%\system32\config . There
is Win32 API to read/write from it. It is binary form, so you cannot view
it directly -- which is actually a good thing since otherwise data format
can never change and code stagnates.
I usually use a tool like LogParser to query the Event Log data, generate
tabular text output of any form/order that I wish, and then print that with
notepad:
http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
Does anyone know a way to printout the event viewer data (other than
selecting each page and selecting the print icon on the browser)? I assume
this data is written to an accessable file somewhere on the server
(specifically where?). Further, can I use notepad or (similar text editor),
to open/print the entire log?
TIA!
--
Bill Billmire
|