> You dont understand this. You can no do this in cookie. I need create
> file, example:
>
> <script language="vbscript">
>
> Dim objexcel
> Set objExcel = createobject("Excel.application")
> objexcel.Visible = True
> objexcel.Workbooks.add
> objexcel.Cells(1, 1).Value = "Testing"
> objexcel.ActiveWorkbook.SaveAs("c:\exceltest.xls")
> objexcel.Quit
>
> </script>
Sorry, just now had time to respond.
We're doing something similar here, but not using Javascript. The form
information is done through ASP.NET, gathering required info to
populate the Excel file, then the file is created in ASP.NET and as the
resulting page of the form. To get data back from the spreadsheet, the
generated file references a local Excel file with a macro to connect
back to the database and submit the appropriate data. If we didn't have
them internal to the network, we would be loading write-back pages with
the macro instead. Not pretty, but it's what had to be done to
accommodate Excel.
Javascript won't cut it. You REALLY don't want Javascript to be able to
do that. Even without any in depth knowlege of systems, you could write
pretty nasty exploits if Javascript let you do that.
Received on Mon May 1 04:54:01 2006