Loading a BlitzMax app as a default app?

BlitzMax Forums/BlitzMax Beginners Area/Loading a BlitzMax app as a default app?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I want to output a file from my BlitzMax program (just a bank of data or whatever), and give it an icon. I then want the user to be able to go to where that file is stored on their computer and click on the icon for the saved file. This should then automatically load up my original BlitzMax application and load the clicked file into it. How can this be achieved in a cross-platform friendly way? In other words, how can I give a file an icon and set up a default application for that file, that it is loaded into, and how can I get the app to accept the path of the file or whatever is necessary to load it?

Thanks in advance.