Running or calling another Small Basic Program RRS feed

  • Question

  • Sorry if this is a very basic question as it is very early days in my use of Microsoft Small Basic.

    But... is it possible to run another Small Basic program immediately after one finsihes.

    Ideally I want to create a small menu and get the user to choose 'Program 1 or Program 2' then run the program according to their choice.

    I am not looking to return to the orginal program and I dont need to carry any values through to the next program either.

    (I am curious if you can return to the original one but I guess I could simply run it again if the option was feasible)

    Any help is really appreciated.


    Thursday, December 4, 2014 9:45 AM


  • You sure can!

    You need to get the LitDev extention. Then you can do it like this:

    LDProcess.Start("Full path of the .exe here","Arguments here if you want to pass any")

    Also, to get the arguments sent to the program, use: 


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    • Proposed as answer by jalpc Sunday, December 7, 2014 3:26 PM
    • Marked as answer by Nonki Takahashi Thursday, December 11, 2014 7:56 AM
    Thursday, December 4, 2014 3:50 PM