Click to See Complete Forum and Search --> : NT Event Log


ddeal
January 21st, 2000, 02:33 PM
Does anyone know how to READ events from the NT Event Log using VB?

Thanks for your help!!

Johnny101
January 21st, 2000, 05:17 PM
Visit microsoft's msdn online (the october issue doesn't have this)...

http://msdn.microsoft.com/library/psdk/winbase/eventlog_2hif.htm

It has info on an API called ReadEventLog which you call after you use another API called OpenEventLog.

I personally have not used these yet, but i was working on something similiar a little while ago and then the project got scrapped so I was never able to try it.

Good luck! Let me know how it goes.

John

John Pirkey
MCSD
www.ShallowWaterSystems.com