How to hide the dialog form?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zhangyl

    #1

    How to hide the dialog form?

    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?


  • Patrice

    #2
    Re: How to hide the dialog form?

    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.

    --
    Patrice

    "zhangyl" <zhangyl@mail.n ai.edu.cn> a écrit dans le message de
    news:e52saKQPGH A.516@TK2MSFTNG P15.phx.gbl...[color=blue]
    > I use a WebBrowser control to open an office Document in my form , but[/color]
    every[color=blue]
    > time when I open a file, there a
    > dialogbox named "File download" showed asking "Whether you want open or[/color]
    save[color=blue]
    > 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?
    >
    >[/color]


    Comment

    • zhangyl

      #3
      Re: How to hide the dialog form?

      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.

      "Patrice" <a@bc.c> дÈëÏûÏ¢ÐÂÎÅ:en CUeKRPGHA.1124@ TK2MSFTNGP10.ph x.gbl...[color=blue]
      > 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.
      >
      > --
      > Patrice
      >
      > "zhangyl" <zhangyl@mail.n ai.edu.cn> a écrit dans le message de
      > news:e52saKQPGH A.516@TK2MSFTNG P15.phx.gbl...[color=green]
      >> I use a WebBrowser control to open an office Document in my form , but[/color]
      > every[color=green]
      >> time when I open a file, there a
      >> dialogbox named "File download" showed asking "Whether you want open or[/color]
      > save[color=green]
      >> 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?
      >>
      >>[/color]
      >
      >[/color]


      Comment

      Working...