open excel file?
first if the file is doc or chm file, it is right.
but if it is excel file ... , use
getPath = getAppDir();
Shell.open(getPath + "excel/1.xls");
to open one xls file, something wrong!
i built it in win2000 pro, then:
1.in my computer, it's all right.
2.but when test it in winxp or win98, it launch the Excel2000 and show one message which said it can not find the "1.xls".
3.if change the location of "1.xls" to the root, use
Shell.open(getPath + "1.xls");
it's all right all all OS.
so strange!
why?
|