Have a look at Trey Pattillo's description of using the Windows API:
http://www.wap3.com/_WinAPI/index2.htm
--
Mit freundlichen Gr��en / Regards
i.A.
Franz-Josef Behr
------------------------------------------------------------------------
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant Fax: ++49 / 7243 / 5641-99
Graphservice GmbH EMail: [EMAIL PROTECTED]
Im Ermlisgrund 18 D-76337 Waldbronn
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de [EMAIL PROTECTED]
-----Urspr�ngliche Nachricht-----
Von: Jim Wilson [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 12. Januar 2001 08:56
An: [EMAIL PROTECTED]
Betreff: MI-L Batch process text files
Hi all,
I am writing a MB program to process a txt file which works ok now but
as I
have a lot of txt files to process I would like to be able to select
multiple txt files at one time and have the program process them one
after
another. I was planning to select the multiple files from the
FileOpenDlg( )
function (as you are able to do in MapInfo) however no matter if I press
the
shift or Ctrl keys, I can only select 1 file at a time.
I also looked at a MBX called Batch Tools from Computamaps and it allows
you
to select one file then it searches for all the files of a similar type
in
the same directory.
I think I see how I would embed my current code in a loop and then
select
the different tablenames one by one from a "batchcontroltable" but how
do
you get the file names into the batchcontroltable in the first place?
TIA
Jim Wilson
_______________________________________________________________________
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.