I want to open multiple files using fileopendlg() function, when I code it selects only one file at a time. Is there any function or procedure to select multiple files at a time?


Unfortunately, MapBasic does not provide the means to open multiple files through the FileOpenDlg function. However, as described in the link posted by Joseph in the comments, you can use a .NET assembly to give you that functionality. A few years back I wrote an assembly to handle a bunch of file and folder functions, including a multi-file version of the FileOpenDlg, and uploaded it to the community downloads site including code examples on how to use it. You can find it here. You may find some of the other functions it provides useful as well!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.