Suppressing the Save/Open Dialog box in a WebBrowser control

后端 未结 2 1007
说谎
说谎 2020-12-16 06:00

I have a WebBrowser control that is automatically logging me into a website and attempting to download CSV data automatically. Everything is working fine, except, when it tr

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-16 06:56

    You can hook up your own IDownloadManager implementation that does download quietly. For Windows Forms, this means you need to override the WebBrowser.CreateWebBrowserSiteBase method to provide your extended control site. Check Webbrowser Control Downloads for details.

提交回复
热议问题