Eliminate the URL when using EventLog.WriteEvent

I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

I do not think you can do so, why it does bother you in the first place?
I too agree it's plain useless though.
 
N

Nicholas Paldino [.NET/C# MVP]

You can't, it's something that is inserted by the event viewer.
 
G

Grant Schenck

It bothers me because it can only confuse users. Some users are bound to
dutifully click the link and get thrown into a limbo.
--
Grant Schenck
http://grantschenck.tripod.com/

Ignacio Machin ( .NET/ C# MVP ) said:
Hi,

I do not think you can do so, why it does bother you in the first place?
I too agree it's plain useless though.
 
G

Grant Schenck

Thanks,

I see that other apps are able to write to the event log on this same
machine without this message...

That would seem to indicate it is not in the event viewer...?
--
Grant Schenck

Nicholas Paldino said:
You can't, it's something that is inserted by the event viewer.
 
N

Nicholas Paldino [.NET/C# MVP]

Grant,

Are you sure? Every event entry in my event log has that message,
regardless of whether or not it is related to an MS product, or a custom
written product.

It might be that just the big three ("Application", "Security",
"System") insert that. I have no entries in other logs, so I can't say for
sure.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Grant Schenck said:
Thanks,

I see that other apps are able to write to the event log on this same
machine without this message...

That would seem to indicate it is not in the event viewer...?
--
Grant Schenck

Nicholas Paldino said:
You can't, it's something that is inserted by the event viewer.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Grant Schenck said:
How can I eliminate this URL link which is automatically appended to
what I write to the event log using EventLog.WriteEntry()?

"For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp"

It makes no sense to refer my user to MS' site!

Thanks,
 
I

Ignacio Machin \( .NET/ C# MVP \)

Grant Schenck said:
It bothers me because it can only confuse users. Some users are bound to
dutifully click the link and get thrown into a limbo.


Let's hope that it's elimitated in Vista.

You know, I have never clicked on it , I have no idea where it takes you to
:)
 
G

Grant Schenck

I'm sure.

This is in the application log. Most events have it but those from a PBX
service do not.
--
Grant Schenck


Nicholas Paldino said:
Grant,

Are you sure? Every event entry in my event log has that message,
regardless of whether or not it is related to an MS product, or a custom
written product.

It might be that just the big three ("Application", "Security",
"System") insert that. I have no entries in other logs, so I can't say
for sure.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Grant Schenck said:
Thanks,

I see that other apps are able to write to the event log on this same
machine without this message...

That would seem to indicate it is not in the event viewer...?
--
Grant Schenck

Nicholas Paldino said:
You can't, it's something that is inserted by the event viewer.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

How can I eliminate this URL link which is automatically appended to
what I write to the event log using EventLog.WriteEntry()?

"For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp"

It makes no sense to refer my user to MS' site!

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top