Dear Guys/Gals,
Anyone know the API call or how to add an event into the Windows NT Event Log?
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli
Printable View
Dear Guys/Gals,
Anyone know the API call or how to add an event into the Windows NT Event Log?
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli
Heres the call its not even an API call :)
App.LogEvent "Your message", vbLogEventTypeError
One note when you are in design mode this code will not write to the event log. However it will work fine when the .EXE is run.