Results 1 to 3 of 3

Thread: [RESOLVED] Where is event log?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2004
    Posts
    541

    Resolved [RESOLVED] Where is event log?

    Hi all,

    I have:

    Code:
    System.Diagnostics.EventLog.WriteEntry("Application", "Exception: " + ex.Message.ToCharArray)
    in my catch block. Does anyone know the location of the event log so I can check it if there is an exception?

    Thanks,

    Strick

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Where is event log?

    Start -> Control Panel -> Administrative Tools -> Event Viewer

    You'll want to select the "Application" node... then look through the source to find your app.
    Use the View -> Filter option to whittle it down.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2004
    Posts
    541

    Re: Where is event log?

    Great, thanks!

    Strick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width