How to hide the dialog form?

  • Thread starter Thread starter zhangyl
  • Start date Start date
Z

zhangyl

I use a WebBrowser control to open an office Document in my form , but every
time when I open a file, there a
dialogbox named "File download" showed asking "Whether you want open or save
this file?", how can I hide it?
Actually, when opening an office file embeded in IE, there also show this
dialog, How can I do it?
 
This is actually a client side setting (in the file types, this is the
"always ask before opening" checkbox). Changing this will affect all those
dialogs. You could perhaps add this as a configurable setting in your
application ?

Another option would be perhaps to have your application download the file
(for example by using the navigate event to "hook" into the usual download
process). Not sure as I'm not familiar with this control.
 
Yes, I want how to add this as a configurable setting in my application.
I want to not display the dialog just when my application open a file, but
when the user open a file in IE, this dialog can displayed.
 
Back
Top