nilu_2005
March 30th, 2010, 01:08 AM
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.
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.