writing to event viewer

Discussion in 'ASP .Net' started by =?Utf-8?B?cGVsZWdrMQ==?=, Aug 10, 2007.

  1. how when i write to the event viewer to have a clean test withought :
    thnaks i nadvance
    peleg
     
    =?Utf-8?B?cGVsZWdrMQ==?=, Aug 10, 2007
    #1
    1. Advertisements

  2. First decide what event log you want to use
    You can create your own log using this script
    http://dev.thatsit.net.au/samples/wsh/logs/eventlog/lgevvb05.htm

    to write an event
    http://dev.thatsit.net.au/samples/wsh/logs/eventlog/lgevvb20.htm

    this is for windows scripting host, I assume its much the same in asp.net

    Actually I just had a look, try System.Diagnostics.EventLog
    you seem to be able to do the same using this class, although I have not
    done so myself



    "pelegk1" <> wrote in message
    news:...
    > how when i write to the event viewer to have a clean test withought :
    >
    >
    > thnaks i nadvance
    > peleg
     
    ThatsIT.net.au, Aug 10, 2007
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ray Cassick \(Home\)

    Link to MS website in MY event viewer entries...

    Ray Cassick \(Home\), May 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    501
    Ray Cassick \(Home\)
    May 10, 2004
  2. Patrick

    Security- access to Event Viewer

    Patrick, Apr 23, 2004, in forum: ASP .Net
    Replies:
    29
    Views:
    7,532
    Steven Cheng[MSFT]
    May 11, 2004
  3. Ken Varn
    Replies:
    2
    Views:
    6,157
    Roger Abell
    Sep 14, 2004
  4. jacksgoogle
    Replies:
    0
    Views:
    1,986
    jacksgoogle
    May 11, 2005
  5. Bats
    Replies:
    5
    Views:
    702
  6. hg
    Replies:
    6
    Views:
    350
    Joel Hedlund
    Jan 11, 2007
  7. veeru
    Replies:
    1
    Views:
    1,813
  8. Flynn

    Gallery Viewer viewer script

    Flynn, Feb 22, 2004, in forum: Javascript
    Replies:
    8
    Views:
    575
    John Flynn
    Feb 23, 2004
Loading...