I am looking to build an open with list, just like in the windows context menu,for image files.So how could i get the list of all programs associated with a file type ?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First source
If you look in the registry under
HKEY_CLASSES_ROOT\.bmp.The
(Default)value will show you the default associated program. In my case, this showsPaint.Picture, which links you toHKEY_CLASSES_ROOT\Paint.Picture.Under
HKEY_CLASSES_ROOT\.bmpyou’ll also find the subkeyOpenWithListwhich contains subkeys to “Open With” applications.Second source
Under
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExtsyou’ll also find a list of fileextensions. Look for.bmp, a subkeyOpenWithListexists there too. I think this source is what you need.