bdn.borland.com

Article #30063: Adding Delphi to the list in the Open With dialog box

Problem:


I uninstalled an earlier version of Delphi but I still have another version of Delphi installed. Now, file extensions such as .pas are no longer associated with Delphi and Delphi is not an option to associate them in the Open With dialog box. What should I do?

Answer:


Run regedit and navigate to: HKEY_CLASSES_ROOT\Applications\Delphi32.exe\shell\Open\Command The default key is probably pointing to the directory that the earlier version of Delphi32.exe was installed to rather than to the more recent version's directory. Changing this should make Delphi appear in your Open With dialog box and you can then associate it with the appropriate file extensions.

Last Modified: 16-JUL-03