Click to See Complete Forum and Search --> : Registry related problem


Matthew Smith
April 26th, 1999, 07:40 PM
Hi:

Hi, I have an application I'm building using MFC that uses the registry. In it, I call EnableShellOpen(), and RegisterShellFileTypes() to enable the user to open a document by double-clicking it in the explorer. The problem I have is that when I double click the document to open it, a 2nd registry key is created for my app with the short file naming standard. In other words, if my App uses a main registry key called "Programming MFC", when I double click the document file, a key called "Progra~1" is created in the registry. I have no problems with the sub-keys, just the main key. How can I prevent this?

thanks,
-Matt

Mike Wild
April 27th, 1999, 01:37 AM
Look at Q148806 perhaps it is related with that problem.

Mike