473,322 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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?
Mar 1 '06 #1
2 1846
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" <zh*****@mail.nai.edu.cn> a écrit dans le message de
news:e5*************@TK2MSFTNGP15.phx.gbl...
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?

Mar 1 '06 #2
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**************@TK2MSFTNGP10.phx.gbl ...
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" <zh*****@mail.nai.edu.cn> a écrit dans le message de
news:e5*************@TK2MSFTNGP15.phx.gbl...
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?


Mar 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: microsoft | last post by:
I am looking for code for a button on a website, and I want it to prevent users from clicking more than once while their request is being processed. I would like it to disable or hide the button...
0
by: Steve Blumenstein | last post by:
My application is MDI. After bringing up my main form (the parent), I then show a non-child form as a modal dialog box (FormBorderStyle=FixedDialog, displayed using the ShowDialog method from the...
4
by: Matthew | last post by:
The following code does not hide the form. Any ideas why? Also, is there a workaround? I have VB.NET 2003. I have a system tray icon, and want to have that be the only thing showing when the...
4
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it...
2
by: gene kelley | last post by:
I have a dialog form, frmDetails, that is opened from the main form: frmDetails.ShowDialog() The only way I have provided to close this dialog is via the "X" button. If frmDetails is just...
13
by: jeff | last post by:
I am attempting to be able to show and hide a form called viewAllForm. I declared an instance of the form in a module. Public viewAllForm As New frmViewAll However I keep getting runtime errors...
36
by: OldBirdman | last post by:
I want a form that is Modal, PopUp, and Dialog, but that is hidden most of the time so that the fields are available to the code of my other forms. Modal means that only the form can have control,...
3
by: deciacco | last post by:
I'm trying to write a label printing SDI app with a small preview on the main form itself. Every time I run the InvalidatePreview event on the preview control to redraw the preview I get the...
2
by: =?Utf-8?B?VG9kZCBKYXNwZXJz?= | last post by:
Hey guys, I've got a MAIN form, which I have a series of navigational buttons on. When I open a secondary form from that form, I'd like to be able to HIDE the original form. The reason is, if...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.