Kbase P176431: How is the default program for opening OpenEdge files in Windows determined?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/29/2010 |
|
Status: Unverified
GOAL:
How is the default program for opening OpenEdge files in Windows determined?
GOAL:
Which program will open an OpenEdge file when it is double-clicked in Windows Explorer?
GOAL:
Which program will open a .p file extension when it is double-clicked in Windows Explorer?
GOAL:
Which program will open a .w file extension when it is double-clicked in Windows Explorer?
FACT(s) (Environment):
Windows
Progress/OpenEdge Product Family
FIX:
The program that will open a Progress file when it is double-clicked is determined by certain Windows registry keys. The explanation below assumes a file with a ".p" extension, but it can be extended to other OpenEdge extensions such as ".w".
The default program, if it has never been changed by right-clicking on a file and choosing "Open With > Choose Program > Always use the selected program to open this kind of file", can be determined as follows:
In regedit, navigate to \HKEY_CLASSES_ROOT\.P.
The Data value will say something like "ProgressFileP-10.2B". Navigate to \HKEY_CLASSES_ROOT\ProgressFileP-10.2B\Shell.
The Data value will say something like "Open_in_the_OpenEdge_Architect". There should be a folder under the current location by that name. Expand that folder.
There should be a folder under the one just expanded, named Command. The Data value will contain a command string to execute the default program. For example, this string opens the .p file in OpenEdge Architect:
"C:\Progress\OpenEdge\oeide\eclipse\eclipse.exe" -perspective com.openedge.pdt.text.ProgressPerspective -vm "C:\Progress\OpenEdge\jre\bin\javaw.exe" -vmargs -Doeide.file="%1".
Similar folders can be seen for the other choices available when right-clicking on a file of this type in Windows Explorer.
The default program, if it has been changed by right-clicking on a file and choosing "Open With > Choose Program > Always use the selected program to open this kind of file", can be determined as follows:
In regedit, navigate to \HKEY_CURRENT|USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.p
The key will contain a value named Application. The Data value will be the program that was chosen as the default program.