itramesh_p
28th July 2006, 09:21
Hi frnds,
i uploaded a OpenOffice SpreadSheet (.sxc)in windows platform .now i want to download that file. But when I click that download link of that file .it is not opening ,in the particular correct xls(Spreadsheet) format.
its opening that file with some mixing of junk values. i saved that file as .sxc format before uploading .
But if i renamed that file as .xls extension means then i can easilly Upload and downloding also done properly.
Its opening the file in Correct format .any one can you clarify this doubt Urgently and send me the code (java Script code)
My Scritp code is:
<SCRIPT type=\"text/javascript\">
var tempstr;
function call_XLfun(S){
tempstr=S;
var theSpreadsheet = new ActiveXObject(\"Excel.Application\")");
var theBook = theSpreadsheet.Workbooks.Open(tempstr)");
theSpreadsheet.visible=true;");
}
</script>
with thanx and especting quick reply,
Ramesh P
itramesh_p@yahoo.co.in
i uploaded a OpenOffice SpreadSheet (.sxc)in windows platform .now i want to download that file. But when I click that download link of that file .it is not opening ,in the particular correct xls(Spreadsheet) format.
its opening that file with some mixing of junk values. i saved that file as .sxc format before uploading .
But if i renamed that file as .xls extension means then i can easilly Upload and downloding also done properly.
Its opening the file in Correct format .any one can you clarify this doubt Urgently and send me the code (java Script code)
My Scritp code is:
<SCRIPT type=\"text/javascript\">
var tempstr;
function call_XLfun(S){
tempstr=S;
var theSpreadsheet = new ActiveXObject(\"Excel.Application\")");
var theBook = theSpreadsheet.Workbooks.Open(tempstr)");
theSpreadsheet.visible=true;");
}
</script>
with thanx and especting quick reply,
Ramesh P
itramesh_p@yahoo.co.in