Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear all,

I am trying to launch an HTA file through my apsx web page. However, a dialog pops up asking "what I want to do with the file: open/save/cancel". My question is, how can I bypass this dialog and move directly to open the HTA file. In most of the posts I perused over the net, they say that this is a security measure taken by the browser. However, this seems quite a redundency since even after clicking on open button, a security warning pops up (with which I have no problem).

So, is there anyway to force the browser open the HTA directly without asking what to do?

Thanks in advance for any assistance.
Posted

1 solution

Yes this is a security issue in order to protect users from viruses, trojan horses and other malicious objects. You can set some browsers to do an automatic save of all files but it is the browser user's choice.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900