moonhkt wrote:
> Then try xls file, not ok, when right-click no option prompted ?
> Do you know why ?
>
hi moonhkt,
I don't actually _know_ why, but I suspect that ms is not
handling the excel (xls) extension the same as the text (txt)
extension. I suspect that ms has devised something far more
complicated.
On my system, there is no such thing as an "xlsfile" registry
entry. Granted, my system is probably much older than yours
-- win98se. fwiw, you will find listed below the registry
entries for (my) "standard" xls context menu options, i.e.,
new, open, print and printto. If your registry looks anything
like mine, then that would be the place to start looking to
make your "backup" context menu addition.
--- <registry stuff> ---
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8]
"EditFlags"=hex:00,00,01,00
@="Microsoft Excel Worksheet"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell]
@="Open"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\New]
@="&New"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\New\command]
"command"=hex(7):34,46,43,21,21,67,78,73,66,28,4e,67,5d,71,46,60,48,7b,4c,73,\
45,58,43,45,4c,46,69,6c,65,73,3e,78,6c,54,5d,6a,49,7b,6a,66,28,3d,31,26,4c,\
5b,2d,38,31,2d,5d,20,2f,65,00,00
@="\"C:\\Program Files\\Microsoft Office\\Office\\EXCEL.EXE\" /e"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\New\ddeexec]
@="[new(\"%1\")]"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\New\ddeexec\application]
@="Excel"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\New\ddeexec\topic]
@="system"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Print]
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Print\command]
"command"=hex(7):34,46,43,21,21,67,78,73,66,28,4e,67,5d,71,46,60,48,7b,4c,73,\
45,58,43,45,4c,46,69,6c,65,73,3e,78,6c,54,5d,6a,49,7b,6a,66,28,3d,31,26,4c,\
5b,2d,38,31,2d,5d,20,2f,65,00,00
@="\"C:\\Program Files\\Microsoft Office\\Office\\EXCEL.EXE\" /e"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Print\ddeexec]
@="[open(\"%1\")][print()][close()]"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Print\ddeexec\application]
@="Excel"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Print\ddeexec\ifexec]
@="[open(\"%1\")][print()][quit()]"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Print\ddeexec\topic]
@="system"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Printto]
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Printto\command]
"command"=hex(7):34,46,43,21,21,67,78,73,66,28,4e,67,5d,71,46,60,48,7b,4c,73,\
45,58,43,45,4c,46,69,6c,65,73,3e,78,6c,54,5d,6a,49,7b,6a,66,28,3d,31,26,4c,\
5b,2d,38,31,2d,5d,20,2f,65,00,00
@="\"C:\\Program Files\\Microsoft Office\\Office\\EXCEL.EXE\" /e"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Printto\ddeexec]
@="[open(\"%1\")][print(1,,,,,,,,,,,2,\"%2\")][close()]"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Printto\ddeexec\application]
@="Excel"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Printto\ddeexec\ifexec]
@="[open(\"%1\")][print(1,,,,,,,,,,,2,\"%2\")][quit()]"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Printto\ddeexec\topic]
@="system"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Open]
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Open\command]
"command"=hex(7):34,46,43,21,21,67,78,73,66,28,4e,67,5d,71,46,60,48,7b,4c,73,\
45,58,43,45,4c,46,69,6c,65,73,3e,78,6c,54,5d,6a,49,7b,6a,66,28,3d,31,26,4c,\
5b,2d,38,31,2d,5d,20,2f,65,00,00
@="\"C:\\Program Files\\Microsoft Office\\Office\\EXCEL.EXE\" /e"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Open\ddeexec]
@="[open(\"%1\")]"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Open\ddeexec\application]
@="Excel"
[HKEY_LOCAL_MACHINE\Software\CLASSES\Excel.Sheet.8\shell\Open\ddeexec\topic]
@="system"
--- </registry stuff> ---
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)
|