|
-
March 30th, 2010, 01:08 AM
#1
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.
-
August 4th, 2010, 12:57 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|