Supressing Dialogue Box In WebBrowser Control
Hello,
I am trying to suppress "SaveAs" dialogue box using following C# code :
webBrowser1.Document.ExecCommand("SaveAs", false, @"C:\google.txt");
But as you can see , this code doesn't suppress "SaveAs" dialogue box as per visibility set to "False" . I have searched MSDN site about this code. But this code will suppress dialogue box as per MSDN docs said. Can you please tell me how can I suppress this annoying dialogue box & save as web page directly to hard disk.
Re: Supressing Dialogue Box In WebBrowser Control
Has anybody know why "false" parameter not working here ? or is it wrong code provided by MSDN. If yes then what is alternative method to save webpage as text file without showing dialog box to user , so he can continue his work without interruption.