Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have coded my application to report it is errors to the event log, using the ReportEvent API in VB6. This all works fine, however I would like to remove (or have finer control over) the additional text placed in the event description, eg:
Quote:
The description for Event ID ( 6 ) in Source ( myApp ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details.


Thanks
PG
Posted

1 solution

See http://msdn.microsoft.com/en-us/library/aa363661.aspx[^]
A hint is in there.
Shortly, you must make the registry key for your application log.
 
Share this answer
 
Comments
Member 2437295 9-Jun-10 13:33pm    
Yes. Thanks. I have added one key in Regsitry and its working fine now.

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900