I'm not sure if this is the best place for this post or not, but I can't
find many asp newsgroups anymore.
I have an app that's 3-4 years old, and has been working just fine. One of
the pages exports the html to Excel. My users just upgraded from
Office97/2000 to Office XP/2003, and now the export to Excel isn't working
for them.
This is the code that I use, and from what I find around the Internet, it's
all I need. Does anyone have any suggestions for what might be causing this
to not work in Office XP/2003? It still works just fine on Office 2000.
Could it be a security setting in the newer version of Office?
Response.Buffer = True
Response.Conten tType = "applicatio n/vnd.ms-excel"
Response.Charse t = ""
EnableViewState = false
Thanks, Andre 4 4653
What is "not working for them" mean? Do they get a file prompt at least? I
have several reports in the similar way, but I haven't seen any difference
upgrading to Office 2003.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"Andre" <no@spam.com> wrote in message
news:ez******** ********@TK2MSF TNGP14.phx.gbl. .. I'm not sure if this is the best place for this post or not, but I can't find many asp newsgroups anymore.
I have an app that's 3-4 years old, and has been working just fine. One
of the pages exports the html to Excel. My users just upgraded from Office97/2000 to Office XP/2003, and now the export to Excel isn't working for them.
This is the code that I use, and from what I find around the Internet,
it's all I need. Does anyone have any suggestions for what might be causing
this to not work in Office XP/2003? It still works just fine on Office 2000. Could it be a security setting in the newer version of Office?
Response.Buffer = True Response.Conten tType = "applicatio n/vnd.ms-excel" Response.Charse t = "" EnableViewState = false
Thanks, Andre
They get 1 of 2 different dialog boxes.
- One says "Microsoft Office Excel cannot access the file 'my url here...'.
There are several possible reasons:
- The file name or path does not exist.
- The file is being used by another program.
- The workbook you are trying to save has the same name as a currently
open workbook.
- The other says "IE cannot download excel_report.as p from 'my url...'. IE
was not able to open the Internet site. The requested site is either
unavailable or cannot be found. Please try again later.
Does this tell you anything?
Andre
"Manohar Kamath" <mk*****@TAKETH ISOUTkamath.com > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. .. What is "not working for them" mean? Do they get a file prompt at least? I have several reports in the similar way, but I haven't seen any difference upgrading to Office 2003.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Andre" <no@spam.com> wrote in message news:ez******** ********@TK2MSF TNGP14.phx.gbl. .. I'm not sure if this is the best place for this post or not, but I can't find many asp newsgroups anymore.
I have an app that's 3-4 years old, and has been working just fine. One of the pages exports the html to Excel. My users just upgraded from Office97/2000 to Office XP/2003, and now the export to Excel isn't
working for them.
This is the code that I use, and from what I find around the Internet, it's all I need. Does anyone have any suggestions for what might be causing this to not work in Office XP/2003? It still works just fine on Office 2000. Could it be a security setting in the newer version of Office?
Response.Buffer = True Response.Conten tType = "applicatio n/vnd.ms-excel" Response.Charse t = "" EnableViewState = false
Thanks, Andre
see if this helps: http://groups.google.com/groups?hl=e...TNGP11.phx.gbl
--
Mark Schupp
Head of Development
Integrity eLearning www.ielearning.com
"Andre" <no@spam.com> wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l... They get 1 of 2 different dialog boxes.
- One says "Microsoft Office Excel cannot access the file 'my url
here...'. There are several possible reasons: - The file name or path does not exist. - The file is being used by another program. - The workbook you are trying to save has the same name as a currently open workbook.
- The other says "IE cannot download excel_report.as p from 'my url...'.
IE was not able to open the Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Does this tell you anything?
Andre
"Manohar Kamath" <mk*****@TAKETH ISOUTkamath.com > wrote in message news:%2******** ********@TK2MSF TNGP15.phx.gbl. .. What is "not working for them" mean? Do they get a file prompt at least?
I have several reports in the similar way, but I haven't seen any
difference upgrading to Office 2003.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Andre" <no@spam.com> wrote in message news:ez******** ********@TK2MSF TNGP14.phx.gbl. .. I'm not sure if this is the best place for this post or not, but I
can't find many asp newsgroups anymore.
I have an app that's 3-4 years old, and has been working just fine.
One of the pages exports the html to Excel. My users just upgraded from Office97/2000 to Office XP/2003, and now the export to Excel isn't working for them.
This is the code that I use, and from what I find around the Internet, it's all I need. Does anyone have any suggestions for what might be
causing this to not work in Office XP/2003? It still works just fine on Office
2000. Could it be a security setting in the newer version of Office?
Response.Buffer = True Response.Conten tType = "applicatio n/vnd.ms-excel" Response.Charse t = "" EnableViewState = false
Thanks, Andre
Unfortunately, it didn't. I removed the "cache" instances from the code and
the export still works great for me on Office 2k. My user on XP still isn't
able to get it to work. She's also telling me that if she exports just a
few thousand records, it will work. But the one we're working on now is 12k
records. Like I said, it works great still on a desktop with Office 2k.
Any other suggestions are much appreciated.
Thanks, Andre
"Mark Schupp" <ms*****@ielear ning.com> wrote in message
news:eP******** ******@TK2MSFTN GP11.phx.gbl... see if this helps: http://groups.google.com/groups?hl=e...TNGP11.phx.gbl -- Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"Andre" <no@spam.com> wrote in message news:%2******** **********@TK2M SFTNGP11.phx.gb l... They get 1 of 2 different dialog boxes.
- One says "Microsoft Office Excel cannot access the file 'my url here...'. There are several possible reasons: - The file name or path does not exist. - The file is being used by another program. - The workbook you are trying to save has the same name as a
currently open workbook.
- The other says "IE cannot download excel_report.as p from 'my url...'. IE was not able to open the Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Does this tell you anything?
Andre
"Manohar Kamath" <mk*****@TAKETH ISOUTkamath.com > wrote in message news:%2******** ********@TK2MSF TNGP15.phx.gbl. .. What is "not working for them" mean? Do they get a file prompt at
least? I have several reports in the similar way, but I haven't seen any difference upgrading to Office 2003.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Andre" <no@spam.com> wrote in message news:ez******** ********@TK2MSF TNGP14.phx.gbl. .. > I'm not sure if this is the best place for this post or not, but I can't > find many asp newsgroups anymore. > > I have an app that's 3-4 years old, and has been working just fine. One of > the pages exports the html to Excel. My users just upgraded from > Office97/2000 to Office XP/2003, and now the export to Excel isn't working > for them. > > This is the code that I use, and from what I find around the
Internet, it's > all I need. Does anyone have any suggestions for what might be
causing this > to not work in Office XP/2003? It still works just fine on Office 2000. > Could it be a security setting in the newer version of Office? > > Response.Buffer = True > Response.Conten tType = "applicatio n/vnd.ms-excel" > Response.Charse t = "" > EnableViewState = false > > Thanks, Andre > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt |
last post by:
I have an ASP page that calls ASP routines that I created that execute
a database query and return the results to a recordset. I then iterate
through the recordset and display the data in a table. Before I iterate
through the recordset I instruct the browser that the content type is
Excel using the following line:
(Response.ContentType = "application/vnd.ms-excel")
This works fine with Excel 2003 but with older versions (I tested Excel...
|
by: Maria L. |
last post by:
Hi,
I need to export the content of a DataGrid (in Windows application in C#), into
an Excel spreadsheet.
Anyone knows how to do this? Any code snippets would help!
thanks a lot,
Maria
|
by: Siu |
last post by:
Hi,
I use the following code to export and import a file Excel from resp. into a
Web page with the following code:
//EXPORT
Response.Clear();
Response.Buffer = true;
Response.ContentType = "application/vnd.ms-excel";
Response.Charset = "";
this.EnableViewState = false;
|
by: Elena |
last post by:
I'm trying to export data to an Excel worksheet. I can export the data in
the cell values perfectly.
I need the code to change a header and footer for the worksheet, not for the
columns.
Is this possible? If so, I really need the code immediately.
Thank you,
Elena
|
by: Hemant Sipahimalani |
last post by:
The following piece of code is being used to export HTML to excel.
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel"
HttpContext.Current.Response.AddHeader("content-disposition",
"attachment;filename=ABC.xls")
HttpContext.Current.Response.Write(strHTML)
HttpContext.Current.Response.End()
However when the user tries to save it the Default File Type is Web
Page(*.htm; *.html)
| |
by: Simon |
last post by:
Dear reader,
With the export command you can export a query to Excel.
By activate this command a form pop's up with the following text:
|
by: smaczylo |
last post by:
Hello, I've recently been asked to work with Microsoft Access, and
while I feel quite comfortable with Excel, I'm at a complete loss with
databases. If someone could help me with this issue I'm having I'd be
most appreciative. The database is already constructed, I'm just
wanting to export the data to an excel file.
In short, I'm hoping to export two Tables (or queries...not sure which
to use - they both seem to have the same data) in...
|
by: CoolFactor |
last post by:
MY CODE IS NEAR THE BOTTOM
I want to export this Access query into Excel using a command button on an Access form in the following way I describe below.
Below you will find the simple query I am trying to export to Excel using a command in an Access Form.
RowID strFY AccountID CostElementWBS
1 2008 1 7
2 2008 1 7
I want to...
|
by: =?Utf-8?B?YzY3NjIyOA==?= |
last post by:
Hi all,
I have a question for you.
I have a .csv file which has many lines of data.
Each line has many data fields which are delimited by ",".
Now I need to extract part of data from this file but save it as an excel
file.
The data in this excel file will be imported into an Access database. The
|
by: hemantbasva |
last post by:
Note We need to have a template on server for generating report in multiple sheet
as we do not had msoffice on server
moreover this require a batch job to delete excel file created by the method....
it creates 6 sheets
# region Namespaces
using System;
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |