|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
URL as a hyperlink in EventLogHi,
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 Have you tried writing it as HTML?
<a href='http://www.mylog.com'>http://www.mylog.com</a> HTH; Eric Cadwell http://www.origincontrols.com 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----- to the log (doesn't>Don't bother, that doesn't seem to work either. >I know there are differences in the way the .NET writes >use insertion strings). Maybe this is a limitation of Hi Eric,those differences. > >-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 |
|||||||||||||||||||||||