Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 28-Nov-2014 17:26:30

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

making the svoyager load a script in vb

colleeauges:

I have embedded the voyager in a vb.net form.
How would I format a

1. make the voyager  execute a .scol file, named "loader.scol".
loader.scol contains this script:

_load "tools/loader/loader.pkg"
main "" "" "" "" 0

and
2. make the voyager execute some code, like

_showconsole;
_fooS "hello from vb";

thx!
-h

Offline

#2 28-Nov-2014 18:20:40

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: making the svoyager load a script in vb

iri there was a documentation about scol activex somewhere do you have it ?

Offline

#3 28-Nov-2014 18:23:33

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Re: making the svoyager load a script in vb

arkeon wrote:

iri there was a documentation about scol activex somewhere do you have it ?

there is discussion of embedding in webpage in the scol tutorial .PDF...is that what or is there additional documentation somewhere else?

Offline

#4 28-Nov-2014 18:28:02

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: making the svoyager load a script in vb

I don't remember ^^


the goal is to call

LaunchMachine("$browser$%5fload+%22locked%2flink%2epkg%22%0amain+%22" + url + "%22%0a CSDMRWK 1000000",1,0);

%5fload+%22locked%2flink%2epkg%22%0amain+%22" + url + "
is in fact the scol script from your .scol file converted in webstr

http://www.w3schools.com/tags/ref_urlencode.asp

Offline

#5 28-Nov-2014 18:42:35

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Re: making the svoyager load a script in vb

arkeon wrote:

I don't remember ^^


the goal is to call

LaunchMachine("$browser$%5fload+%22locked%2flink%2epkg%22%0amain+%22" + url + "%22%0a CSDMRWK 1000000",1,0);

%5fload+%22locked%2flink%2epkg%22%0amain+%22" + url + "
is in fact the scol script from your .scol file converted in webstr

http://www.w3schools.com/tags/ref_urlencode.asp

thanks I'll check the link looks like I have some learning to do

Offline

#6 28-Nov-2014 21:26:45

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: making the svoyager load a script in vb

arkeon wrote:

iri there was a documentation about scol activex somewhere do you have it ?

hmmm yes there was some docs about ActiveX.
In my archives, i found these old docs only :

- http://iri3d.free.fr/Docs/scs_scol/webweb1/web_page.htm
- http://iri3d.free.fr/Docs/scs_scol/webw … 20scol.zip
- http://iri3d.free.fr/Docs/scs_scol/webw … ion_en.doc
- http://iri3d.free.fr/Docs/scs_scol/webweb1/WEB.zip
- http://iri3d.free.fr/Docs/scs_scol/webw … ersion.htm

You should also read the html source code to adapt them to your project and the recent web browser.

Offline

#7 28-Nov-2014 21:28:32

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Re: making the svoyager load a script in vb

iri wrote:
arkeon wrote:

iri there was a documentation about scol activex somewhere do you have it ?

hmmm yes there was some docs about ActiveX.
In my archives, i found these old docs only :

- http://iri3d.free.fr/Docs/scs_scol/webweb1/web_page.htm
- http://iri3d.free.fr/Docs/scs_scol/webw … 20scol.zip
- http://iri3d.free.fr/Docs/scs_scol/webw … ion_en.doc
- http://iri3d.free.fr/Docs/scs_scol/webweb1/WEB.zip

Thx I'll look at that.
- http://iri3d.free.fr/Docs/scs_scol/webw … ersion.htm

You should also read the html source code to adapt them to your project and the recent web browser.

Offline

Board footer

Powered by FluxBB