By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

event log issue

P: n/a
hey all,

i have some simple code that writes the Application Event Log:

Dim anEventLog As New System.Diagnostics.EventLog
anEventLog.Source = "Application"
If anEventLog.SourceExists("Application") Then
anEventLog.WriteEntry("Hello World",

It works but, in addition to my message i get the below as well. is there a
way to just print my stuff in the description box:

The description for Event ID ( 0 ) in Source ( Application ) 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. The following information is part of the event: Hello

Feb 9 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.