Hi Amandat,
UH-OH. I hope you're aware that you're walking a thin line here? MI Pro's
definitely not licensed to run in a web scenario.
But to answer your question: No, but you can poke it afterwards using OLE
Automation (Integrated Mapping):
Set miObj = CreateObject("mapInfo.Application")
miObj.MBApplications("yourname.mbx").MBGlobals("yourvar") = newvalue
Which in your MapBasic program looks like:
Global yourvar as appropriate_type
This is also the way to extract data from an MBX in runtime.
Hope this helps.
Lars Nielsen
**********************************************************
Lars Nielsen [EMAIL PROTECTED]
Senior Programmer, MapXtreme iGIS Specialist
Kampsax/MapInfo, Odense http://www.mapinfo.dk
Authorized MapInfo Distributor in Denmark & Norway
Address: Rugaardsvej 55, DK-5000 Odense C
Telephone: +45 6313-5000 Facsimile +45 6313-5090
**********************************************************
"Griffiths, Amanda"
<[EMAIL PROTECTED]> Til:
[EMAIL PROTECTED]
Sendt af: cc:
[EMAIL PROTECTED] Vedr.: MI-L Passing
Variables to an MBX
onsmag.com
18-09-01 04:47
Besvar venligst til
"Griffiths, Amanda"
Hi Everyone,
I was wondering if it's possible to include a variable on the command line
string when starting MapInfo and an MBX.
We have a web page that has an option that starts MapInfo and runs an mbx.
We were hoping to somehow pass a variable with this command line, so that
the value of a variable in the mbx will already be known.
I'd be glad for any help, or other ways of achieving this.
Thanks,
Amanda
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.