URL as a hyperlink in EventLog

  • Thread starter Thread starter Shads
  • Start date Start date
S

Shads

Hi,

I'm trying to write a url as a hyperlink in the Eventlog,
does anyone know if this is possible ??

I have tried the following but this doesn't appear as a
hyperlink. Microsoft have done the same thing with there
support link.

System.Diagnostics.EventLog.WriteEntry("MyLog",
@"http://www.mylog.com");

Thanks in advance

Shads
 
Don't bother, that doesn't seem to work either.
I know there are differences in the way the .NET writes to the log (doesn't
use insertion strings). Maybe this is a limitation of those differences.

-Eric
 
-----Original Message-----
Don't bother, that doesn't seem to work either.
I know there are differences in the way the .NET writes to the log (doesn't
use insertion strings). Maybe this is a limitation of those differences.

-Eric

Hi Eric,

Yeah I tried this approach as well, I have found the
following article which proves it can be done.

http://www.codeproject.com/dotnet/evtvwr.asp
 
Back
Top