Results 1 to 2 of 2

Thread: Adding events to Windows NT Event Log

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Dear Guys/Gals,

    Anyone know the API call or how to add an event into the Windows NT Event Log?

    ------------------
    Regards,

    Paul Rivoli
    -------------------
    privoli@bigpond.com
    http://users.bigpond.com/privoli

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Post

    Heres the call its not even an API call

    App.LogEvent "Your message", vbLogEventTypeError

    One note when you are in design mode this code will not write to the event log. However it will work fine when the .EXE is run.

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