I used the following example of how to send Excel content to a browser using ASP.
Notice that the article applies to visitors with Excel 97, 2000 or 2002. I have Excel 2002.
I removed the database connection, inputed some static data and ran the test. It works great. However, at the end of the article it mentions this.
If Microsoft Excel 97 is installed on the client computer, Microsoft Excel displays the data inside the browser.
Only, when I ran the ASP page, I was prompted to download or open the file (instead of displaying the data in the browser window). Furthermore, the previous document in the browser window did not change. This is fine for me because my goal is to deliver an Excel file to the visitor using ASP and this provides that solution. However, how can I be sure, from visitor to visitor, that they will be either prompted for download or have the Excel document loaded inside the browser window.
Here's the funny part. When I click on a direct link to and .xls file from the same computer, it DOES load the excel document into the browser window.
Any ideas..
TW
Notice that the article applies to visitors with Excel 97, 2000 or 2002. I have Excel 2002.
I removed the database connection, inputed some static data and ran the test. It works great. However, at the end of the article it mentions this.
If Microsoft Excel 97 is installed on the client computer, Microsoft Excel displays the data inside the browser.
Only, when I ran the ASP page, I was prompted to download or open the file (instead of displaying the data in the browser window). Furthermore, the previous document in the browser window did not change. This is fine for me because my goal is to deliver an Excel file to the visitor using ASP and this provides that solution. However, how can I be sure, from visitor to visitor, that they will be either prompted for download or have the Excel document loaded inside the browser window.
Here's the funny part. When I click on a direct link to and .xls file from the same computer, it DOES load the excel document into the browser window.
Any ideas..
TW