Setevent not working

Discussion in 'Scripting' started by Raj, Oct 14, 2005.

  1. Raj

    Raj Guest

    I am running a PB application from a job scheduler. The PB application then
    create a named event using the createevent and then calls the
    WaitForSingleObject every few transactions. I am calling a vb script from job
    scheduler which will send the signal to stop the application. I am sending
    the signal to the named event by using the setevent. For some reason, the
    application will not stop. I does stop some times, but some times it doesn't
    work. Can any one help me with this.

    At least I need to know the named events on the system. Is there any script
    that lists the named events some thing like..Win32_events......I know that we
    have Win32_Process, Win32_Threads...etc
    Raj, Oct 14, 2005
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.