EventLog
-
Hi i have one issue regarding EventLogType of event viewer. I have written code for reading all events from event viewer. for getting event log type name like application, system and security, I refer registry path (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog). Form this path, I come to know how many event log type are and using the keyname, I read the event logs information. My problem is that One machine (windows 2000 server) the eventlog names are differ from registry with eventviewer. Ex. In registry Application In EventViewer . Application Logs So I could not get the log information from event log viewer I am using OpenEventLog() API Thanks By . Shadrach
-
Hi i have one issue regarding EventLogType of event viewer. I have written code for reading all events from event viewer. for getting event log type name like application, system and security, I refer registry path (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog). Form this path, I come to know how many event log type are and using the keyname, I read the event logs information. My problem is that One machine (windows 2000 server) the eventlog names are differ from registry with eventviewer. Ex. In registry Application In EventViewer . Application Logs So I could not get the log information from event log viewer I am using OpenEventLog() API Thanks By . Shadrach
I saw an example on codeproject about event viewer did you see it?:)
WhiteSky