Re: forcing the user to click correct button
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: forcing the user to click correct button

From: [on] <switchable@gmail.com>
Date: Thu Apr 06 2006 - 14:15:17 CEST

korund@hotmail.com wrote:
> -------------------
> 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>

So basically you want to give the user a Excel file ? (xls)

Did you try reading up on any Libary for whatever Preprocessor language
you use for your webserver to create XLS files ?. Sure there's some ...
IIS probably suport it nativly, if you're in to that kind of stuff.

Yea I know it's not really "javascript" ... but neither is the code you
just pasted.
Received on Mon May 1 04:45:14 2006