URL as a hyperlink in EventLog

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
 
E

Eric Cadwell

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
 
G

Guest

-----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
 

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