
Making an Event Log Message File in VB (NOT WRITING TO THE EVENT LOG)
I had a similar post to this on Friday, but I think I need to re-post to
clarify my question.
I want to know if anyone know if its possible to create a message file for
the NT Event Log using Visual Basic.
I am not asking how to log to the Event File from VB. I understand how to
do this using app.LogEvent, however, I am not interested in using this
method due to the limitations of that method. Instead, I want to log using
the Windows API to do this.
I have visited http://www.*-*-*.com/ ;and have been able to
use the code there to write to the event log (it work very nicely). In
order to do this, however, you need to create a Message File where your
error messages are defined. The example at
http://www.*-*-*.com/ ;demonstrates clearly how to make a
message file in C++. I understand how this works, but I don't currently
have access to a C++ compiler
As a result, I am wondering if there is some other way to do this in VB. Is
there some way to make a .RES file that serves the same purpose as the .DLLs
that are typically used as message files?
If worse comes to worse, I can use C++, but I would prefer to use strictly
VB. Any assistance would be greatly appreciated.
Thanks
Rob