Making an Event Log Message File in VB (NOT WRITING TO THE EVENT LOG) 
Author Message
 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.


Fri, 13 Jul 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Event Log: Writing to the NT Event Log

2. Logging events to NT Event Log from VB5

3. Write events to the event log ?

4. Does anyone know how to write an event into NT Event Log

5. Writing events to the NT Event Log

6. my events not showing up in NT event log

7. Event Log Category Message File

8. Creating a Message File for NT Event Log in Visual Basic

9. Can VB app write to Event Log?

10. Write NT Event Log in VB 5

11. HOWTO: Write to Event Log from VB

12. Can VB app write to Event Log?


Powered by phpBB® Forum Software