View Single Post
  #6 (permalink)  
Old 10-25-2004, 09:00 PM
sheena sheena is offline
Junior Member
 
Join Date: Oct 2004
Posts: 1
Default Re:open excel file?

Quote:
Originally Posted by emicky
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?
Reply With Quote