11
3
Information on files' associations are stored in HKLM\SOFTWARE\Classes
and HKCU\SOFTWARE\Classes
Windows' registry branches (among others). Each entry there can have OpenWithProgIDs
key which adds programs named in it's values to the list of programs accessible from Open With entry in the context menu. Many of these keys have REG_NONE
type. However regedit doesn't allow to create keys of this type - this type is absent from the list of key types available under New entry of the context menu.
How can I create a registry key of type REG_NONE
to add new program to the list or to recreate previously deleted key?
2
You can do so with the Registry.SetValue method in .net: http://msdn.microsoft.com/en-us/library/3dwk5axy.aspx Explanation of types here: http://msdn.microsoft.com/en-us/library/microsoft.win32.registryvaluekind.aspx
– MaQleod – 2011-09-04T17:12:40.693It might be best if you explain how you need to create the key or why, this question is likely to be closed as not constructive because it does not pose a question to a problem and does not specify any conditions or anything you have tried already. It is difficult to give an answer when no real question has been asked. – MaQleod – 2011-09-04T17:14:06.540
As @MaQleodmentioned, please be specific in your question and add some more details. Flag for reopening once done – Sathyajith Bhat – 2011-09-04T17:42:53.013
5
I'm not sure why anyone would think this question isn't specific enough. And there are many good questions on Super User that don't deal with a user's specific problem, they just ask a question. Some have even been highlighted as top questions. Like this one.
– Lance Roberts – 2011-09-04T20:33:54.937@Lance This is apples and oranges. I agree to reopen though. – slhck – 2011-09-05T19:51:44.187