I want to give the users of my program the option to associate/disassociate a File Extension (such as .zip) with my app. My application manipulates files with the .zip extension, so registering the file type instructs the operating system to open the file with my application when the user double-clicks its icon.
I know that some installers as InstallShield do this at installation stage, but I want (using a checkbox) to let the users decide to associate or disassociate the .zip file extension.
Can somebody write the API snippet for me? Thanks in advance.