File Associations

Feb 12 2004 8:14 AM
I'm trying to create a windows file association. I have managed to get the basic association to work, but there is one extra bit that I just cannot get to work. This is the bit that causes the program name to be listed in the 'Choose Program...' dialog (not to be confused with the initial 'Open With' pop-up). Currently, the icon appears in this list but there is no program description alongside. I can see where in the registry this should go: (HKEY_CLASSES_ROOT\Applications\progname.exe\shell\FriendlyCache but when I set this at the time I create the association, it reverts to blank shortly afterwards. At this time, the FriendlyCacheCTime gets set too. If I then manually change FriendlyCache to the application name it appears as required in the 'Choose Program...' list after a while. Not sure what all these weird delays are. I really don't understand what is going on with the timing. Can somebody please tell me what I'm doing wrong ? The keys I am setting for the association are as follows: HKEY_CLASSES_ROOT\.qst Default QuestLocator HKEY_CLASSES_ROOT\QuestLocator\DefaultIcon Default .....QUEST.EXE,0 HKEY_CLASSES_ROOT\QuestLocator\shell\open\command Default ...QUEST.EXE %1 These entries create the association fine. The 'Choose Program...' dialog shows the icon for the application but there is no description listed next to it. Any help would be appreciated.