I know Installers can setup File Associations for your Application during the installation process, so if you have your own File types that open with your Application, it will be setup to do that, and also the associated File will have its own icon in Windows what you define.
Anyway, I would like to be able to Set/Remove the File types my Application will use, directly from the preferences form in my Application.
What methods are needed to do this, I am thinking along the lines of the Registry, but then what Keys/Values etc are we to work with, if Registry is the way to go?
Appreciate some advice and tips, It is also important that it works on XP/Vista/7.
Thanks in Advance.
try this unit to associate a certain extension to an exe remove the entries made in registry to unregister.
Registry is defenetly the way to go with things…