How to browse folder
BlitzMax Forums/BlitzMax Programming/How to browse folder
| ||
Hi, I'm new to Blitzmax and I have been reading a lot of tutorials. I'm trying to create a data file reader to display a visual representation of the data from a text file. I think I figure out how to use the isostream, but I haven't found a way to do a file browsing dialog box. Is it possible to somehow use the common dialog controls in Windows via Blitzmax? Thanks for any advice you can give. -Patrick |
| ||
Yes, RequestFile and RequestDir are there for this.' requestfile.bmx filter$="Image Files:png,jpg,bmp;Text Files:txt;All Files:*" filename$=RequestFile( "Select graphic file to open",filter$ ) Print filename ' requestdir.bmx path$=RequestDir("Select a Folder",CurrentDir()) Print "directory selected was "+path |
| ||
Thank you! That's very useful. So far it seems that Blitzmax could do everything I need. |