none
Programme stops responding RRS feed

  • Question

  • When I open a previously saved and working  small basic programme and try to run it I get the message 'Programme stopped responding', and then closes.

    However if I open the programme and then copy and paste the programme coding into a new programme and run it from there it works.

    Anybody any ideas. It is a real pain!

    Thanks

    Mark

    Tuesday, September 18, 2012 11:07 AM

Answers

  • Hey mark_the teacher!

    This is indeed a strange behavior!

    When you copy a code to a new text pad, and run it w/o saving it 1st; it is then compiled into the %TEMP% folder with a file name such as tmp20.tmp.exe for example. And it is run from there.

    However, your program is unable to be run from the folder you had previously chosen for it to be saved into, is that right?

    My advise is: try to save your program into a completely different folder. Perhaps it is something to do w/ admin access rights.

    Another one: also try to directly run the generated .exe from the save folder.

    If it works for %TEMP% folder, it has to work somewhere else, doesn't it?


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Tuesday, September 18, 2012 12:57 PM
    Answerer
  • My bro's PC is offline. So I had to improvise to test a remote save & run connection for SB.  :D

    Just a little notice: I'm using WinXP here!

    To do the trick, I've used a Linux OS w/ Samba ( a Windows network emulation ) setup in a way not to ask for passwords, running inside VirtualBox ( a PC virtual machine emulator ) in bridge network mode.

    1st, I've mapped a drive letter (Map Network Drive from Explorer's Tools menu) to a folder w/ full permissions located inside that guest Linux OS.

    Wrote this little code here -> TextWindow.WriteLine("TESTING"), and saved remotely there as Test.sb. It ran perfectly!

    Just to be sure, closed & re-opened SB, then used Open to remotely load Test.sb from there again. And same result: it worked flawlessly!

    Conclusion, SB is able to run & save into remote folders, at least, when it gets full permission!

    I don't know how's your school's network setup; but I hope my little remote experiment test can help you to figure out a solution.  ^_^


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Tuesday, September 18, 2012 3:25 PM
    Answerer

All replies

  • Hey mark_the teacher!

    This is indeed a strange behavior!

    When you copy a code to a new text pad, and run it w/o saving it 1st; it is then compiled into the %TEMP% folder with a file name such as tmp20.tmp.exe for example. And it is run from there.

    However, your program is unable to be run from the folder you had previously chosen for it to be saved into, is that right?

    My advise is: try to save your program into a completely different folder. Perhaps it is something to do w/ admin access rights.

    Another one: also try to directly run the generated .exe from the save folder.

    If it works for %TEMP% folder, it has to work somewhere else, doesn't it?


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Tuesday, September 18, 2012 12:57 PM
    Answerer
  • Thank you very much for your reply. It is indeed what you suggest.  The students are accessing it across a network, which is the problem with accessing temp folders. Is there a way in which the application can be set so that it points to the students personal directory.  This might help.

    Thanks for your help

    Mark

    Tuesday, September 18, 2012 1:37 PM
  • So, it is a school network!

    I believe each computer used by students has its own SB installed, right?

    And you want to save and run SB programs located from a central school computer?

    Problem is I only run SB code from my own personal PC.

    Perhaps later, I can try out to save and run remotely from my brother's PC and see if nothing goes wrong!


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Tuesday, September 18, 2012 2:23 PM
    Answerer
  • My bro's PC is offline. So I had to improvise to test a remote save & run connection for SB.  :D

    Just a little notice: I'm using WinXP here!

    To do the trick, I've used a Linux OS w/ Samba ( a Windows network emulation ) setup in a way not to ask for passwords, running inside VirtualBox ( a PC virtual machine emulator ) in bridge network mode.

    1st, I've mapped a drive letter (Map Network Drive from Explorer's Tools menu) to a folder w/ full permissions located inside that guest Linux OS.

    Wrote this little code here -> TextWindow.WriteLine("TESTING"), and saved remotely there as Test.sb. It ran perfectly!

    Just to be sure, closed & re-opened SB, then used Open to remotely load Test.sb from there again. And same result: it worked flawlessly!

    Conclusion, SB is able to run & save into remote folders, at least, when it gets full permission!

    I don't know how's your school's network setup; but I hope my little remote experiment test can help you to figure out a solution.  ^_^


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Tuesday, September 18, 2012 3:25 PM
    Answerer