Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using application/vnd.ms-excel

Status
Not open for further replies.

Anthony1312002

Programmer
Mar 4, 2004
146
US
I'm able to use the function: application/vnd.ms-excel to open excel on a Windows 2000 machine but on an XP machine it brings up excel but displays no data. Is there a different script for XP?
 
Make sure you are doing a Response.Headers.Clear before you set the ContentType and any other headers. Also be sure to set the headers for the file name and any other ones you can set up before hand.

Of course, if the client turns off in-browser activation, it won't matter what version of windows they are on, it won't load the XLS in the browser.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top