473,603 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.

Jul 19 '05 #1
2 1373
CJM
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" <an****@webmail .co.za> wrote in message
news:1c******** *************** *****@phx.gbl.. .
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.

Jul 19 '05 #2
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" <cj*******@news groups.nospam> wrote in message
news:uU******** ******@TK2MSFTN GP09.phx.gbl...
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" <an****@webmail .co.za> wrote in message
news:1c******** *************** *****@phx.gbl.. .
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.


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2774
by: Robin Tucker | last post by:
Hi there, I have a database on my test machine that will need to be installed on users machines. I would like to create the database with the given schema on the users machine and also with some suitable default values in the tables. I note that although I can script the schema so that re-creating the structure of the database is simple on the users machine, I cannot script the contents of the tables also (automatically). What I would...
0
1626
by: deploying visual basic .net application | last post by:
Hi There, I'm trying to create a setup for a Windows application to install my application I developed using Visual basic .net. I'm using Visual Studio .net Professional. When I use the Set up wizard. I only have 4 steps, when I look at exaple to create a setup file I find I should have 5 steps. One step Step 3 of 5 is missing in my steps ( Choose project outputs to Include. I don't have this step in my wizard. I am not sure why. I went...
9
3047
by: Maziar Aflatoun | last post by:
Hi everyone, I like to export some data from the database and allow my users to store this file to their harddrive as a .txt file. Does anyone know how I would go about doing that? (without creating the actual physical text file on my local drive first). Thank you Maziar A.
5
1287
by: Jerry Camel | last post by:
I'm trying to create a file depot that will hold files for 24 hours and then kill them. Basically a temporary place for people to post something that will automatically notify the person that it's posted for. Although I'm new to ASP and HTML, I've got quite a bit of development experience. If this wasn't web based it'd be a peice of cake... But I'm not sure how to do a couple of things through the web... I figure I'll write a service...
15
2817
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. Everything is the default settings I believe. IIS is running under Local System. In IIS the DefaultAppPool is running under Network Service. Annonymous access uses the account IUSR_JASMINE (machine name is Jasmine).
5
1462
by: laredotornado | last post by:
Hi, I'm using PHP 4.3. There is a section of my application in which I'd like users to be able to download a custom file. The file would be different for each user, so I was planning on creating it on the fly when they click "Download". However, I would like to delete the file from the server a certain period of time after they've downloaded it. (It's a 3 or 4K file). How can I do this? Thanks, - Dave
4
1535
by: Coleen | last post by:
Hi All :-) I'm not sure where to post this, but my organization is looking for a good software application that is not terribly expensive that allows you to create documentationand help files and is able to be integrated into a .Net application. Any suggestions? Any help, suggestions, links would be greatly appreciated. TIA, Coleen
6
2028
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems due to not having the correct administrator rights. I'm perplexed over this as I cannot reasonably ask corporations to allow the local secretary to have admin or power user rights just to install my software. My software is intended for user...
4
2616
by: mopiforu | last post by:
HI, I am creating a web server in which user will upload a file, in my cgi script using the upload method i am getting the file handle and writing the file in my hard drive, later am using the written file to do some process (in which two other files will be created and the names of those files are hard coded) and will list the output for the end user. my question is if i have released this server globally, i may get lots of files at a...
0
7996
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7928
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8060
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6735
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5878
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3951
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1514
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.