"Driver, Greg 9434" <[EMAIL PROTECTED]> wrote: > Is there a way to identify the location of a file in MapBasic without having > some sort of user inter-action (say using FileOpenDlg)? The problem I have > is that we have some users (at remote locations) who access files on their > C: drive, whilst others who access the same files via a server (though even > then the mapped drive pointing to the same server may well be different on > different PC's). So if I want to open a table in MapBasic that's held in > different places what's the best way to go about it without getting the user > to locate it through a dialog?
The short answer is: Use an INI file to specify where the file goes. The INI file can be created manually with a text editor, or by a program you use to install your software, an appropriate time for user interaction. HTH Spencer Simpson GIS Developer Baltimore Metropolitan Council http://www.baltometro.org/metromapping.html _______________________________________________________________________ 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.
