I require my MapBasic application to open an Excel spreadsheet as a MapInfo table. The spreadsheet file resides on a network and is regularly accessed and updated by other staff. My problem is that MapInfo does not let you register or open an Excel file while it is opened by anyone.
To get around this problem, I need to create a copy of the Excel file. I have tried using 'Save File', but this does not work on an open Excel file. I have also tried using 'run command "xcopy..."'. While this successfully copies the file, MapInfo does not wait for the xcopy operation to finish, and so my application attempts to access the spreadsheet file before xcopy has actually finished copying it. Does anyone have any suggestions for copying files without using 'save file' or 'xcopy'? I have searched the MapInfo-L archive, and came across someone who had an identical problem back in 2000 (http://lists.directionsmag.com/discussion/read.php?f=7&i=329&t=329), but there was no solution posted. Thanks, Simon __________________________________ Simon O'Keefe GIS & Mapping Specialist Groundtruth mobile: +61 409 413 890 office: +61 3 5345 3966 mail: PO Box 290 Clunes VIC 3370 Australia __________________________________ --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 16879
