VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This module allows you to write text to the Windows Event Log with with a single method call. Inclu

Antonio Zavala  (2 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Tue 22nd October 2002   Mon 8th February 2021

This module allows you to write text to the Windows Event Log with with a single method call. Includes options for Type, Source, Category, and

API Declarations


Usage:
LogEvent([Applicaiton Name], [EventLog Type], [Msg to be logged], [Optional Event ID], [Optional Category Number])

Dim ret as Long
ret = LogEvent("TestApp1", EVENTLOG_SUCCESS, "Success event!!!!")



Rate This module allows you to write text to the Windows Event Log with with a single method call. Inclu (1(1 Vote))
This module allows you to write text to the Windows Event Log with with a single method call. Inclu.bas

This module allows you to write text to the Windows Event Log with with a single method call. Inclu Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters