Matt,

I cannot see any way to do this in MapBasic (others feel free to prove me
wrong on this).

But I see three different ways to do this. One, write a C DLL that will
return an array or comma separated string of all TAB files in a directory.
Your MB program can then loop though the results and open the tables.

Second, create a VB app that MB can call via DDE that does the same thing.

Third, write your app in VB using integrated mapping instead. This is what I
do and I haven't written a straight MB program in over 4 years.

- Brad

> -----Original Message-----
> From: Matthew Greatorex [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 9:37 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      MI Opening multiple files
> 
> Is anyone aware of a simple way to open all tables within a particular
> file, given the path to that file?
> 
> I'm hoping there's something in MapBasic along the lines of 
> 
>       Open Table "F:\outerfolder\innerfolder\*.* "
> 
> Where all of the files within "F:\outerfolder\innerfolder\" are mappable
> tables.
> 
> Thanks in advance.
> 
> Matt.
> [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]
----------------------------------------------------------------------
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