
Event Log: Writing to the NT Event Log
I needed to write to the NT event log using VB5.
Due to the VB App object gives me the capabilitie to do this, I tried, and i
found it doens't worked.
Following the instructions given by an MS TechNet article, I used an
alternative way to get this using some API's.
The sample worked fine, and I made a class to make all this easily.
My question is:
When I write into the log, all looks good, except the message itself.
Instead of my message , the following statemente appears:
The description for Event ID ( myEventNumber ) in Source ( myApp ) could not
be found. It contains the following insertion string(s): MyMessage.
I mean, the parameters works well, and my message appears, but after all
this stuff. I don't know the reason who makes this message appear
Any help?
Fran