Hi JC,

A workspace consists of a series of MapBasic commands, and the order is _not_ 
arbitrarily. This makes it doubtsome whether a table
(which by defibition is arbitrary) is the right place to store it !?

But to get at its content from VB, the simplest approach would be to:

Dim pthnam As String
pthnam = (some temporary file path)
miproObj.RunCommand "Save Workspace As """ & pthnam & """"

and then read and decode the file "pthnam" yourself. The contained commands may be 
distributed over several lines, but all commands
start in column 1 with all subsequent lines properly indented with spaces.

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/
http://hjem.get2net.dk/lars-online/
WGS84: 10.20'40"E 55.20'20"N
----- Original Message -----
From: "Jaimini CHATWANI" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 31, 2002 12:56 PM
Subject: MI-L MI TABLE-INFO IN ACCESS


> Dear List
>
> Does anyone know whether it is possible to generate a table in
> Microsoft Access displaying properties of a MapInfo Workspace?  Or
> even in excel?  I was wondering whether the coding can be done using
> VB.
>
> Thanks and regards.
>
> JC
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 4718
>


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4719

Reply via email to