"Confirm open after download" option

  • Thread starter Thread starter Newton
  • Start date Start date
N

Newton

I would like to know how to uncheck/check the
option "Confirm open after download" for one specific file
type programmaticaly.

I am using a WebBrowser Control in a Windows App and when
I navigate to word and excel documents available in my
local network the dialog box "File download" asking
wheather I would open or save the file appears. If I just
uncheck the check box "Always ask before opening this type
of file" then it is not going to appear anymore and the
file is directly loaded, which is what I want.

The problem is that from now on this option will also be
used for the Internet Explorer, but I want to open doc's
and xls's directly only when I am using my particular
Windows App with the WebBrowser control. So, I have to use
automation to control programmaticaly this option turning
it off when I start my app and turning it on again when I
finish the application.

I have tried to discover how to do it using the object
browser and the documentation of Internet Explorer, but I
could not find it.

If anyone could tell me how to do it I would be very
gratefull.

Thanks.
 
Hi, Robert.

Thanks for your help.
I followed the reference, downloaded the cnfupd.exe and
run it. The effect is the same as setting up the "File
Download" dialog box to be displayed for all office
documents. This programm has no optional flag to disable
the dialog box instead.

The knb article shows the syntax of using confirm.exe
which could be a solution to my problem, since by
executing
"confirm.exe /q /d" I would disable the dialog box to be
displayed for office documents and when I leave my app I
could execute "confirm.exe /q" to enable it back. I could
do it with the Shell function in VB.

The problem is that the download only includes cnfupd.exe
but not the confirm.exe. I guess that cnfupd.exe calls
confirm.exe. I checked in the Internet Downloaded files to
see wheather the confirm.exe could have been downloaded,
but it is not there.

The article also shows where in the registry we can
configure this option for a word document, but changing
the registry does not affect IE5 or 6.

So the problem is still open, if you, or anyone else, have
any idea on this issue, please publish it.

Thanks.
-----Original Message-----
Not Prompted to Specify Download Folder for File
http://support.microsoft.com/default.aspx?scid=kb;EN- US;q177976

reverse engineer and you should be right


--
Report back to newsgroup in this thread on any outcomes so others can
benefit.

Utilise the MS SEARCH
CRITERIA "site:support.microsoft.com" using GOOGLE for
better
 
Back
Top