Open with a dialog box does not remember the newly added program

I use VS2010 every day and sometimes like to open a C # file (or another file) in another editor (my favorite Notepad ++). Thus, right-clicking on a file in “Solution Explorer” and selecting “Open With ...” opens the “Open With” dialog box.

I add my editor, and the program appears in the "Open With" dialog box all day long.

But every time I reboot (or log out and log back in to the domain), the program disappears from the "Open With" dialog box.

I think this could have something to do with the roaming profile (because it happens at work). And consulting our servicedesk did not solve this.

So, I looked through the registry, trying to find the place where the programs are stored in the "Open With" dialog box in VS2010. But did not find the correct key.

Can someone tell me where the Open With dialog programs are stored? So can I create a script or add something to my favorite program every time I log in?

+4
source share
1 answer

A quick look with Procmon SysInternals (science!) Revealed

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\xx\Default Editors\yyy 

where xx is the VS version number (for example, 9.0 for VS2008), and yyy is the file name extension. This key receives a subkey with the same name as the Friendly Name and the default value, which has the value "Program Name". I can’t guess why the registry settings are not saved on your machine, ask questions about this on superuser.com or your “servicedesk”.

+4
source

Source: https://habr.com/ru/post/1386302/


All Articles