<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>3 Aug 2015 14:19:00 Z</lastBuildDate><pubDate>3 Aug 2015 12:49:00 Z</pubDate><description>Hi&#13;
&#13;
I am creating an excel file in a webservice procedure and then returning that Excel file with a buffer variable to my WebDev application user.&#13;
&#13;
I am then trying to display that Excel file using StringDisplay(bufMyResult,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ")&#13;
&#13;
However the file cannot be opened with Excel. Even if I add an optional filename parameter to Stringdisplay the user can save the file but it still cannot be opened in Excel.&#13;
&#13;
A separate procedure where a PDF file is returned in a buffer works perfectly.&#13;
&#13;
Any suggestions please?&#13;
&#13;
Thanks in advance&#13;
&#13;
&#13;
Ericus Steyn</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53369-wb19-display-excel-file-received-via-buffer/read.awp</link><title>[WB19] Display Excel file received via buffer</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53369-wb19-display-excel-file-received-via-buffer-53370/read.awp</comments><pubDate>3 Aug 2015 14:19:00 Z</pubDate><description>Hi Ericus,&#13;
&#13;
so the excel file you are creating -IS- a xlsx?&#13;
Because if it is a xls file, then your mime type is incorrect. Se…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53369-wb19-display-excel-file-received-via-buffer-53370/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53369-wb19-display-excel-file-received-via-buffer-53370/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53369-wb19-display-excel-file-received-via-buffer/read.awp">[WB19] Display Excel file received via buffer</source><title>Re: [WB19] Display Excel file received via buffer</title></item></channel></rss>
