I am saving a ppt slide to the Response of a page with ASP.NET. Here's the code that does the saving:
page.Response.ContentType = "application/vnd.ms-powerpoint"
page.Response.AppendHeader("Content-Disposition", "attachment; filename=" & _Report.Name & ".ppt")
This works pretty well. The page returns with a dialog to Open or Save the ppt. However, I ran into two issues with this.
1. I can not open the ppt directly by selecting the Open option in the dialog. I get a file path not found error. It is trying to open the ppt from Temporary Internet Files\Content.IE5\Some Random Folder and the file is not there. Is this an IE issue? I am using IE6
2. Any changes I made to controls on the page are not persisted. For example, if I add a listitem to a listbox control on the page prior and then write the ppt to the response stream, that listitem is lost when the page returns.