Re: [Gambas-user] Gambas-user Digest, Vol 128, Issue 33

2017-01-28 Thread Martin McGlensey
Tobi, Thanks for your reply. I'm trying to embed a window running another program into a scrollview. I've added a scrollview to the form and put the embedder into the scrollview. This works but, as the embedder is larger than the scrollview it extends over the borders of the scrollview. It scrolls

Re: [Gambas-user] Gambas-user Digest, Vol 128, Issue 33

2017-01-28 Thread Gianluigi
The example of Tobias you can download it here [0] Tobias essentially recommends that: '- Public Sub Form_Open() Dim hFrm1 As Form1 hFrm1 = New Form1(ScrollView1) End '- Regards Gianluigi [0] http://gambas.8142.n7.nabble.com

Re: [Gambas-user] how-to execute file or bash script packaged inside gambas

2017-01-28 Thread Marty
Want to run a script file packaged within the Gambas project. Tried the method below. DIM sTempScript as String sTempScript = Temp$ COPY "update.sh" TO sTempscript SHELL sTempScript WAIT Does not work for me. All of the python files are in the gambas project directory and have execute perm

Re: [Gambas-user] how-to execute file or bash script packaged inside gambas

2017-01-28 Thread Benoît Minisini
Le 28/01/2017 à 18:07, Marty a écrit : > Want to run a script file packaged within the Gambas project. Tried the > method below. > > DIM sTempScript as String > > sTempScript = Temp$ > > COPY "update.sh" TO sTempscript > > SHELL sTempScript WAIT > > Does not work for me. All of the python files are

Re: [Gambas-user] how-to execute file or bash script packaged inside gambas

2017-01-28 Thread Benoît Minisini
Le 28/01/2017 à 20:03, Benoît Minisini a écrit : > Le 28/01/2017 à 18:07, Marty a écrit : >> Want to run a script file packaged within the Gambas project. Tried the >> method below. >> >> DIM sTempScript as String >> >> sTempScript = Temp$ >> >> COPY "update.sh" TO sTempscript >> >> SHELL sTempScri

Re: [Gambas-user] how-to execute file or bash script packaged inside gambas

2017-01-28 Thread Jussi Lahtinen
Also does the tmp partition have noexec set (check /etc/fstab)? It's common way to harden Linux installation, but people kind of abuses /tmp... it's not for executions. Jussi On Sat, Jan 28, 2017 at 9:09 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 28/01/2017 à 20:03, Benoît

Re: [Gambas-user] how-to execute file or bash script packaged inside Gambas

2017-01-28 Thread Marty
Jussi, Thanks for your response. I’ve checked /etc/fstab and There are only two partitions the main and swap. I do not see any entry for a tmp partition. I’m running Gambas 3.91 under Mint17.1. Did a routine install when I installed it right from the CD. Bennoit, Thanks for your sug

Re: [Gambas-user] how-to execute file or bash script packaged inside Gambas

2017-01-28 Thread Jussi Lahtinen
Literally here: /tmp/gambas.1000/3092/1.tmp Read the error message carefully! Paste this into terminal and it will open the folder for you: nemo /tmp/gambas.1000/3092/ Jussi On Sat, Jan 28, 2017 at 11:25 PM, Marty wrote: > Jussi, > > > > Thanks for your response. I’ve checked /etc/fstab and T