Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 02:20 PM
Luis
Guest
 
Posts: n/a
Default Creating xls files on users pc

The MSDN KB article 189198
(http://support.microsoft.com/default.aspx?scid=kb;en-
us;189198) describes how to create a spreadsheet with info
from a database. Is there a way to create the spreadsheet
on the users computer instead of on the web server? I want
to prevent a whole lot of xls files from being created and
stored on the server.

  #2  
Old July 19th, 2005, 02:20 PM
CJM
Guest
 
Posts: n/a
Default Re: Creating xls files on users pc

Create the XLS as described in the article, then stream it to the client.

http://www.darkfalz.com/Scripts_Details.aspx?pstID=1098

Chris

"Luis" <andyza@webmail.co.za> wrote in message
news:1ce701c46fbf$a0c6b430$a601280a@phx.gbl...[color=blue]
> The MSDN KB article 189198
> (http://support.microsoft.com/default.aspx?scid=kb;en-
> us;189198) describes how to create a spreadsheet with info
> from a database. Is there a way to create the spreadsheet
> on the users computer instead of on the web server? I want
> to prevent a whole lot of xls files from being created and
> stored on the server.
>[/color]


  #3  
Old July 19th, 2005, 02:20 PM
Tom Kaminski [MVP]
Guest
 
Posts: n/a
Default Re: Creating xls files on users pc

You can actually skipped the whole ADODB.Stream part as in this case the OP
doesn't want to create any files on the server. Just output an HTML table
and change the ContentType to Excel:

http://support.microsoft.com/?kbid=301044

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com


"CJM" <cjmnews04@newsgroups.nospam> wrote in message
news:uUxFsU8bEHA.2352@TK2MSFTNGP09.phx.gbl...[color=blue]
> Create the XLS as described in the article, then stream it to the client.
>
> http://www.darkfalz.com/Scripts_Details.aspx?pstID=1098
>
> Chris
>
> "Luis" <andyza@webmail.co.za> wrote in message
> news:1ce701c46fbf$a0c6b430$a601280a@phx.gbl...[color=green]
> > The MSDN KB article 189198
> > (http://support.microsoft.com/default.aspx?scid=kb;en-
> > us;189198) describes how to create a spreadsheet with info
> > from a database. Is there a way to create the spreadsheet
> > on the users computer instead of on the web server? I want
> > to prevent a whole lot of xls files from being created and
> > stored on the server.
> >[/color]
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles