Trigger the process events using Process Id

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eashokan
    New Member
    • Feb 2008
    • 2

    Trigger the process events using Process Id

    Hi..

    I am able to get the process (as object) running in the sysetm through process id. I need to trigger the event that corresponds to the process (object) i got. Note that the Process object i get is not started by me or started in separate application.

    In my application, i need to get the object and the trigger of the process events - like process.Exited.


    code snippet,

    AddHandler gService.toolPr oc.Exited, AddressOf IsProcessComple ted

    gService.toolPr oc = Process.GetProc essById(process ID)
    gService.toolPr oc.EnableRaisin gEvents = True


    Thanks in advance,

    Regards,
    Ashokan
Working...