473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

application/vnd.ms-excel

Hi There,
I am using the below snipped of code to dump the Recordset content in my asp
page to an excel file.
response.ContentType="application/vnd.ms-excel"
However when the query is complete the content gets displayed to the web
page in excel format instead of being prompted to save the file to the local
machine.

Any ideas on how to rectify this?

Thanks In Advance,
Kevin Humphreys.
Jul 22 '05 #1
1 1827
http://www.aspfaq.com/show.asp?id=2161
"Kevin Humphreys" <kh********@hotmail.com> wrote in message
news:uO****************@tk2msftngp13.phx.gbl...
Hi There,
I am using the below snipped of code to dump the Recordset content in my asp page to an excel file.
response.ContentType="application/vnd.ms-excel"
However when the query is complete the content gets displayed to the web
page in excel format instead of being prompted to save the file to the local machine.

Any ideas on how to rectify this?

Thanks In Advance,
Kevin Humphreys.

Jul 22 '05 #2

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

Similar topics

14
by: BOOGIEMAN | last post by:
Well that's it, how do I make Windows Application with Python ??? Is there simple way that works 100% ? How can I rework visual design done in VS 2003 to use it for my python program ?
1
by: Zengfu Xu | last post by:
Hi, I need to deploy a VB.Net application which use MS Access as the backend database. The client's PC does not have MS Access installed. So the application can not run at their PC. I was told...
1
by: Lauren Quantrell | last post by:
I'm using the following code in Access 2000 to open a new MS Internet Explorer window with whatever URL value I pass to myURL: Application.FollowHyperlink myURL, , True (the True opens MS Internet...
1
by: James | last post by:
Hi, I am trying to access the MS Access database on my local machine in C# Windows Application in Visual Studio.NET. But it seems that it does not work. I use the Microsoft Application Blocks to...
21
by: Chris | last post by:
I'm trying to get an existing VS.NET project up on my Win2003 server and I get the following error (on the actual website page): "It is an error to use a section registered as...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: MS | last post by:
Hi, I have an Gui Application written in C#.net. Is it possible to launch my application from a web application. I also need to pass a parameter to this application so that appropriate data is...
38
by: Oldie | last post by:
I have built an MS Access Application under MS Office XP (but I also own MS Office 2000). I have split the application in the pure database tables and all the queries, forms, reports and macro's. ...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
15
by: (PeteCresswell) | last post by:
Some time within the next nine months, there's a pretty good chance I'll have the "opportunity" to port a bond trading system that I wrote - whose front end is currently MS Access - to .NET. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.