devxlogo

Event logging doesn’t work in interpreted applications

Event logging doesn’t work in interpreted applications

The StartLogging and LogEvent methods of the App object only work in compiled applications. This behavior is by design and shouldn’t be considered a bug, even though it isn’t documented in the language manuals.

To work around this problem, just create an ActiveX DLL component that exposes the StartLogging and LogEvent method, compile it, and use it from the interpreted program.

devx-admin

Share the Post: