Replacing Download Dialog in Internet Explorer

Hi,

I have for long time now, wanted to find a way to replace the Internet Explorer download dialog with my own dialog.

The reason is, that I need to create a system, where the user is only able to download to a specific folder.

Does anyone have any clue on how to accomplish this with .NET? (or VB6)

Thanks in advance,

Michael
BodekaerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PreachDotNetCommented:


If you want user's not to be able to change the Default Download Directory

Start Regedit
Go to HKEY_USERS \ .DEFAULT \ Software \ Policies \ Microsoft \ Internet Explorer \ Restrictions
Create a DWORD value called NoSelectDownloadDir
Give it a value of 1

Old code, not sure if it will still work

BodekaerAuthor Commented:
How do I then define the default download directory?

And usually it is still possible to just type "C:\" in the download dialog.
PreachDotNetCommented:
The problem you have is that the dialog box is part of the IE program, to add your own you would need to write your own browser (simpler than it first appears as there is a web control in vb.net) then redeploy it.

The other alternative is to use something like Resource Hacker to amend the dialog box in whichever DLL in IE that it resides.  http://bink.nu/Article2728.bink

You may be ok then redeploying your hacked resource file to the other machines you want this to work on.  Although you will have problems with even minor releases of IE.

I had a quick look through gpedit.msc (start run gpedit.msc) because I thought this may be a common requirement in schools and suchlike but couldn't see anything that would accomplish this.  Although there are a number of other security features you may find useful.

The other thing is even if you do change the dialog box there is still the right click >> save as menu in the actual browser itself.  

Did you try the NoSelectDownloadDir?

References :
http://forums.devshed.com/windows-help-34/disabling-save-as-and-send-in-ie-63025.html
http://www.softheap.com/how-to/disable_save_as.html

Any more details on what the scenario is?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.