save-as

Using VB to automate IE "save target as"

I'm trying to use an excel VB macro to download excel files from a membership password-protected site. I am using the "InternetExplorer" object to open a browser window, log-in and browse to the correct page, then scanning for the links I want in the page. Using the Workbooks.Open(URLstring) doesn't work because Excel isn't logged. Inste...

Change the content type of a pop up window.

This question brought a new one: I have a html page and I need it to change the content type when the user press "save" button so the browser prompt to save the file to disk I've been doing this in the server side to offer "excel" versions of the page ( which is basically a html table ) <c:if test="${page.asExcelAction}"> <% ...

How do I open the "Save As" dialog box in Outlook using VSTO and get the user entered filename

I'm creating a VSTO add-in for Outlook. As part of this add-in, I need to be able to allow the user the save a grid as a CSV file. When the user clicks on the "Export" button on the grid, I want to pop up the "Save as" dialog box, allow the user to select a file/enter a file name and location. When the user clicks ok, I need a way for my...

header for excel file save as

hello, im able to output an excel file by php and it opens correctly in excel. No problems there. When the user clicsk save as in Excel it comes with first option .txt How can i set the header so first option will .xls with save as. Headers im using now : $filename="jaar.xls"; header("Content-Type: application/vnd.ms-excel"); header("C...

Is there any way to 'simulate' right-click save-as command or force download of file in the browser with JavaScript?

I have this situation where we have media files stored on a global CDN. Our web app is hosted on it's own server and then when the media assets are needed they are called from the CDN url. Recently we had a page where the user can download file attachments, however some of the file types were opening in the browser instead of downloading...