>Does anyone know how to programatically associate a file extention with an executable?
>
>I know how to do this manually in explorer, but I need to do this in a setup program for an app.
>
It involves creating a set of registry keys; the first of which is HKEY_CLASSES_ROOT\
file extension, which points to another entry in HKEY_CLASSES_ROOT defining the app and the set of OLE verbs it needs to support, as well as it's server app. You can figure this out by using REGEDIT to explore the setup of a standard file extensions, such as .TXT, and duplicating the registry key structure for your new file extension - this is exactly how Explorer works.