function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kartik_salesforcekartik_salesforce 

URGENT--Need to supress "Do you want to Open or save this file" for (CSV AND DOC FILES) in IE 8, IE 9 on Win XP and Win 7

In our Task in Salesforce we generate one CSV file and one doc file after one button click on salesforce screen. we need to download these two documents without the popup message "Do you want to Open or save this file"

can this be achieved using Apex Coding/Visualforce page .This happens on google chrome and we need that behaviour in IE  8,9 on Win XP and Win 7 .Kindly let me know

Thanks
Kartik
Vinita_SFDCVinita_SFDC
Hello,

I doubt if this is possible with apex but you can do it without apex. Please refer following link for steps to follow:

http://www.winhelponline.com/blog/reset-the-always-ask-before-opening-this-type-of-file-setting/
kartik_salesforcekartik_salesforce
Thanks Vinita for your reply. I believe we need to edit the registry that is to have seamless download without "Do you want to Open or save this file" popup we need to edit registry. 

Do you know anyone who would know what registry key value we need to use for CSV and doc files? your help woyld be greatly appreciated

Thanks
Kartik


Vinita_SFDCVinita_SFDC
Hello,

Please refer following links for editing registry key value through command line:

http://support.microsoft.com/kb/264584

http://stackoverflow.com/questions/130193/is-it-possible-to-modify-a-registry-entry-via-a-bat-cmd-script

Hope it helps!