Hello,
I have a page in my local drive that uses Active Content. But every time I refresh it, it pops up a window asking me whether I want to run it or not. What should I do I want to refresh my page without the warning pops up every time.
Thank you very much.

How to turn off the prompt for Active Content?
Jehan Badshah
These are new security precautions taken by IE7. Try going to Tools->Internet Options->Advanced and down to the "Security" section. There is a checkbox to always allow Active Content from your local machine. That should get rid of the prompt.
-Reza
Gravy
Brandon Merillat
Thank you. I am using IE7 and checked "Allow active content to run in files from my computer." It only disabled the yellow banner blocker. Anyway, I am only trying to unlock security only for my program. Since I can change my program, I found out that I can use HTA instead. Now, my program runs perfectly without changing security.
BTW, if you want to try the program I am making, go here. I hope it is useful. It is a special interest photo viewer that is best used on smaller web photos.
http://magicalclick.spaces.live.com/
arodtwitt
skyliner34
The setting in the registry for this is located in the registry here: HKeyCurrentUser\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN. there should be a dword entry here called iexplore.exe it should be set to 0.
Some flavors of IE ignore these settings so make sure you are using the stock IE7 or IE6 (not one provided by DSL companies, MSN or AOL browser).
~ George ~
SaravanaKumar_1977
Mitch Wardrop
fscarpa58
ElectricBliss
Am having similar yet different problem with Active Content warning. Every webpage on my local drive that I attempt to use as home page triggers an Active Content warning every time, no matter how simple the html is. I've even tried a blank html page as home page (no text between <body></body>) and still get an active content warning. Opening other webpages from local drive does not trigger warning, until the page is set as "home", then it triggers warning when next opened. Any thoughts
NewbieDude
vijay1
function handleError(msg, url, linenumber)
{
/* code to store error details in a database call via AJAX */
return true;
}
this is called in the same way using
window.onerror = handleError;
the above function works fine in IE. if an error occurs it is stored in my database, the user is oblivious to this and gets no indication of an error occurring.
however, this doesnt work as expected in a HTA. if all i have inside the function is "return true" it works fine, however, if i place any code before the "return true" it fails. is there any way around this i really want to be able to log in some way that an error has occured and don't have time to amend all my code to include try catches etc.
Krutika
i have added a quick fix
function handleError() {
return true;
}
window.onerror = handleError;
this will at least stop the user seeing the error dialog box. next step is to do something sensible rather than just hiding the error, that can wait for another day
thanks for your help
MP Grewal
during my application testing i will be removing all errors. however, one error may sneak through and i am not keen on letting the users see the popup if this does occur. knowing users they will kick up a fuss instead of clicking the "allow script to continue" button. i prefer the way IE handles an error by displaying the error icon in the bottom corner of the browser. surely there should be a way of disabling the error popup in HTA. this option is avalable in IE but not HTA, why is this