Disable activex controls popup warning

I have created some slides in powerpoint and save it as html pages. There are some animations in the powerpoint slides. When the powerpoint created the html file, one file called scripts.js was created. I make use of the documentOnClick function in the scripts.js file to insert a function where, when a user click on the html page, the function will create a file using activexobject("scripting.filesystemobject") to record the time of the mouseclick. The problem is, when creating the activeXobject, internet explorer always show a warning message on ActiveXControls warning.

How can I "DISABLE THE WARNING". If I can't can anyone suggest a better solution for me to track the time when there is a mouse click? The script must reside in the scripts.js file as i will only write the time to the file if there is an animation from the powerpoint.
ericglsAsked:
Who is Participating?
 
ericglsConnect With a Mentor Author Commented:
Problem solved using cookies
0
 
ericglsAuthor Commented:
I will only need to run this on my local machine.
0
 
kahleanCommented:
In your internet option setting, go to the security tab, click on custom level, where you will see a few active X control setting, choose all active X control to be enable.

Hope this wil sovle the prob

REgards
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
CSC_NT_SupportCommented:
Also I have seen it where in IE, Internet Options, Security, if you have the security level set to Medium or higher you will get these errors. I had that problem until I moved my security settings to low. But make sure this is ok before you do this....I dont know what security level you need.
__________________________________
Thanks
Jeffrey J. Riggs
CSC - NT Server Support
Onsite @ Motiva Enterprises LLC
Delaware City Refinery
__________________________________
0
 
kahleanCommented:
refering to my previous comment, by enabling all active control to be enable, unsigned active x control which sometme can be dangerous will be downlaoded as well. My suggestion is that create a custom profile for all active x setting to be enable and save it. Whenever you wanted to use your power point select this secuity profile and while you are on the internet choose back the normal profile.

Altthough a little bit thoruble some but just to be on the safe side

REgards
0
 
ericglsAuthor Commented:
I have already enabled everything earlier but that didn't solve my problem. The warning message is still there. The warning message popup everytime when the javascript try to execute the 'file = new activeXObject("scripting.fileobjectsystem")'

Any new ideas guys?
0
 
HousenetCommented:
-Okay if I understand correctly, you're running this from your local machine ?
-In security options add 127.0.0.1; your local IP, or any other way you reference this to the trusted sites list.
0
 
ericglsAuthor Commented:
Housenet, I've tried that but it didn't work as well.
0
 
kahleanCommented:
what version of IE and powerpoint that you are using, i might afraid it has soemthing to do with the scripting
0
 
ericglsAuthor Commented:
IE version 5.00.3315
Office 2000
0
 
GUEENCommented:
Did you enable "Initialize and script ActiveX controls not marked as safe" in security | custom settings?


reg file:  copy this file (beween the stars *******)    into notepad and select "save as type: all files" then name it    activex.reg  and save to desktop.
Then right-click activex.reg and select 'merge'

***********************************************
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
@=""
"DisplayName"="My Computer"
"Description"="Your computer"
"Icon"="explorer.exe#0100"
"1201"=dword:00000001

***********************************************
0
 
ericglsAuthor Commented:
shekerra, if i do this, can I unregister it later?
0
 
GUEENCommented:
Yes of course you can -
0
 
ericglsAuthor Commented:
How to unregister then?
0
 
kahleanCommented:
you can manual go to this key in yuor registry and remove or edit the value of each string there

REgards
0
 
GUEENCommented:
You could also just make another reg file - like you did above and switch the value back to 0

****************************************
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
@=""
"DisplayName"="My Computer"
"Description"="Your computer"
"Icon"="explorer.exe#0100"
"1201"=dword:00000000

****************************************

0
 
ericglsAuthor Commented:
It doesn't work. The warning message still appear after I've added the registry.
0
 
brunoCommented:
posting here for two reasons:

1)  to remove from pending delete status, as it doesn't work.

2)  there is another user with a similar problem that pointed me here, wondering how this was done with cookies.  eric, if you get this notif, please visit this other q (or if anyone else knows how):

http://www.experts-exchange.com/webdevsoftgen/Q_20326618.html


Thank you all.
0
 
DBAOSheaCommented:
I had the same problem. The modifying of the registry suggested above is a good idea.  Honestly, I didn't know what it did from the code until I surfed around more for a detailed answer. Here's my try....
It sounds like since you need to run a file from the local filesystem, all the tinkering to Internet options would be fruitless because the four visible zones: Internet, Local Intranet, Trusted Sites, and Resricted Sites don't affect the local filesystem.  It is affected by the fifth and hidden zone of My Computer. I believe this reg file suggested above makes it visible, but you still need to go to Start->Settings->Control Panel->Internet Options then Security Tab and select the newly visible My Computer and enable the ActiveX controls. That should do the trick...
Here's a script and some links I found on my trek to finding my solution.
Links:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q182569&
http://support.microsoft.com/support/kb/articles/q182/5/69.asp
http://p2p.wrox.com/archive/javascript/2002-05/52.asp

And a script included in the last link:
(Copy and paste into notepad and save as a .vbs file.
 Run at the command prompt:
 C:\wscript filename
)
'=====================================================
'Courtesy of the great Michael Harris:
'=====================================================
'Exposes the "My Computer" Internet Zone on the
'Internet Options | Security tab to allow custom
'settings for local HTML files...
'
'See the following MS KB article...
'
'Description of Internet Explorer Security Zones Registry Entries
'http://support.microsoft.com/support/kb/articles/q182/5/69.asp
'http://support.microsoft.com/default.aspx?scid=KB;EN-US;q182569&
'
'In general, there's a "My Computer" security zone that is
'normally not displayed by IE in the Security dialog.
'This KB article explains the various registry keys and
'named values that have to do with IE security.
'
'=====================================================

set shell = createobject("wscript.shell")
'=====
'Changing this under the HKLM makes it effective for all users
'at next logon...
'=====
HKLM_MyComputer_key = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0\"
valuename = "Flags"
shell.RegWrite HKLM_MyComputer_key & valuename, 1, "REG_DWORD"
'=====
'Changing this under the HKCU makes it effective for this user
'immediately and at every logon...
'=====
HKCU_MyComputer_key = "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0\"
valuename = "Flags"
shell.RegWrite HKCU_MyComputer_key & valuename, 1, "REG_DWORD"

msgbox _
  "The 'My Computer' security zone " _
& "is now visible in the IE security dialog."

wscript.quit
0
 
cempashaCommented:
2 open questions:
10/31/02 http:Q_20387785.html "How to get the http port number used by iis"
08/02/01 http:Q_20162099.html "Disable activex controls popup warning"

Hi ericgls
This question is still open and needs to be closed. If any of the comments above helped you, please accept it as an answer. If not please send an update about your issue so that the question can be finalised. Thank you

*** PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER ***

Pasha

Cleanup Volunteer
0
 
netwiz562Commented:
------CLEAN UP------

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

RECOMMENDATION: PAQ/REFUND

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Rajiv Makhijani
EE Cleanup Volunteer
0
All Courses

From novice to tech pro — start learning today.