none
Close all startet processes of my application RRS feed

  • Question

  • Dear all,

    In my current application I need to start my Exe a second time because I use a Video capture funtion and want to handle a second camera without splitting the screen.

    This function works fine so far but sometimes one process does not close when I close both applications.

    Can I check the (still) running process an kill them?

    How can I do this by code?


    Liebe Grüße Stefan

    Saturday, September 21, 2019 7:23 PM

Answers

  • In the solution explorer double click click on My Project for your application.  Check the check box for single instance app.  This will not allow more than one instance to run at a time 
    • Marked as answer by Sirius32ds Sunday, September 22, 2019 8:54 AM
    Saturday, September 21, 2019 8:06 PM

All replies

  • In the solution explorer double click click on My Project for your application.  Check the check box for single instance app.  This will not allow more than one instance to run at a time 
    • Marked as answer by Sirius32ds Sunday, September 22, 2019 8:54 AM
    Saturday, September 21, 2019 8:06 PM
  • Thanks,

    this is not what I want because I need to start the programm twice or more.
    I soplved the issue by a While function.


    Liebe Grüße Stefan

    Sunday, September 22, 2019 8:53 AM