Creating my own file extension
What i want to know is
A: how do i make a program run by double clicking an icon (as is normally how you activate a program), but i need to somehow attatch my program to the extension i use.
and B: once i run the program i would need it determine the file name of the file i double clicked without me having to define it.
The extension is for my own bitmap kind of image file (it is simpler than others and is purely for my own use), i would basicly want to start my program with the file i double click being the loaded file... just like if i were to open a text file.... its just a matter of figuring out the name of the file being opened.