Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Runing 4 aplications ( one by one ) using pause command

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Runing 4 aplications ( one by one ) using pause command

    hi every one

    i have 4 application to run using one button

    but when the first application begin the others must pause till the first one finish

    and a same for application 2 when it start the others must pause

    so i want to run them one by one , and this is the names of my applications :

    MyWork1

    MyWork2

    MyWork3

    MyWork4

    i hope i find help from you

    thanks

  • #2
    I believe this is what you are looking for:

    Code:
    File.Run("AutoPlay\\Docs\\MyWork1.exe", "", "", SW_SHOWNORMAL, true);
    File.Run("AutoPlay\\Docs\\MyWork2.exe", "", "", SW_SHOWNORMAL, true);
    File.Run("AutoPlay\\Docs\\MyWork3.exe", "", "", SW_SHOWNORMAL, true);
    File.Run("AutoPlay\\Docs\\MyWork4.exe", "", "", SW_SHOWNORMAL, true);
    You will notice the WaitForReturn is set to true. This will make the first app run and wait until it is finished before moving on to the next one.

    Comment


    • #3
      thanks a lot mindstitchdr , i`m gonna try it

      Comment

      Working...
      X