Hello Malcolm,
Thursday, July 04, 2002, 1:57:07 AM, you wrote:
NM> Greetings Listers,
NM> I have written an mb to process some raw data and when this has happened I
NM> save the data as a tab file and export it as a TXT file.
NM> I would like to enable the end user to select the directory location for the
NM> output files and possibly supply a name for the file as well.
NM> How do I do this?
Dim s_filename As String
s_filename = FileSaveAsDlg("","","TAB","Save Table")
if (s_filename <> "") then
'save file here
end if
--
Best regards,
Vladimir Lashin
microOLAP Technologies LLC
MBX/VCL free stuff - http://www.microolap.com/gis/mbx/index.htm
MBBuilder - Visual Development Tool for MapBasic - http://www.microolap.com/gis/mb.htm
Raster Handler for ERDAS Imagine to MapInfo - http://www.microolap.com/gis/imgrhl.htm
MapInfo Callbacks Manager ActiveX - http://www.microolap.com/gis/micm.htm
mailto:[EMAIL PROTECTED]
http://www.microolap.com/gis/ - GIS related products
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]