Hi all
what is the Spiderbasic equivalent of the Purebasic runprogramn function?
Thanks in advance
Runprogram
Re: Runprogram
I think no RunProgram exists for SB (Web Browser limitations).
Maybe you should take a look at @IDLE excellent renewed: Atomic Server 3, so you could launch some code on the server side calling from your SB code.
Maybe you should take a look at @IDLE excellent renewed: Atomic Server 3, so you could launch some code on the server side calling from your SB code.
-
- Posts: 54
- Joined: Wed Mar 18, 2015 5:52 am
Re: Runprogram
In fact, what I want to do is launching an external executable programm. Is it possible to use Httpget? My version of sb is windows and my pc on winodws 11
-
- Posts: 330
- Joined: Fri Sep 22, 2017 7:02 am
Re: Runprogram
I can't remember where I got it. I suspect that Master Kiffi once posted it.
Code: Select all
Procedure RunProgram(Filename.s, Parameter.s = "")
! if (v_parameter != "") {
! var win = window.open(v_filename, v_parameter);
! win.focus();
! } else {
! window.open(v_filename);
! }
EndProcedure
Re: Runprogram
practically you cant spiderbasic is web app, aka a website
its prohibited to security reasons, i..e too many virus use that
its prohibited to security reasons, i..e too many virus use that

Christos
-
- Posts: 330
- Joined: Fri Sep 22, 2017 7:02 am
Re: Runprogram
Yes indeed. I only use RunProgram() to open an external web page in the browser...
Re: Runprogram
Doesn't work for me.Dirk Geppert wrote: Wed Jan 22, 2025 8:50 am I can't remember where I got it. I suspect that Master Kiffi once posted it.
Re: Runprogram
Maybe you could open the web page inside you SB app.Dirk Geppert wrote: Wed Jan 22, 2025 8:55 am Yes indeed. I only use RunProgram() to open an external web page in the browser...