Simon

you need the Run Appliaction Statement

Purpose

Runs a MapBasic application or adds a MapInfo workspace.

Syntax

Run Application  file
file  is the name of an application file or a workspace file

Description

The Run Application statement runs a MapBasic application or loads a MapInfo
workspace.
By issuing a Run Application statement, one MapBasic application can run
another application. To do so, the file parameter must represent the name of
a compiled application file. The Run Application statement cannot run an
uncompiled application.
To halt an application launched by the Run Application statement, use the
Terminate Application statement.

Example

The following statement runs the MapBasic application, REPORT.MBX:

  Run Application "C:\MAPBASIC\APP\REPORT.MBX"

The following statement loads the workspace, Parcels.wor:

  Run Application "Parcels.wor"

cheers

Mick


----- Original Message -----
From: Simon W Fox <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 04, 2000 6:59 AM
Subject: MI Mapinfo


> Dear all
>
> Just a quick question for you.
>
> Is there a way of opening a workspace through mapbasic using a simple
> command followed by the workspace name as you can for a table, ie. Open
> Table "C:States".
>
> I want to avoid having to list out the text content of the workspace I
wish
> to open. I did attempt to this, but whilst compiling the MB file a whole
> range of errors were identified.
>
> All responses will be very much appreciated.
>
> Thanks
> ___________________________________
>
> Simon Fox
> Rivers and Coastal Section
> WS Atkins Consultants Ltd
> Tel. 01925 622029
> Fax. 01925 622054
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to