Solved

Disable activex controls popup warning

Posted on 2001-08-02
22
771 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:ericgls
  • 8
  • 4
  • 3
  • +6
22 Comments
 

Author Comment

by:ericgls
ID: 6344018
I will only need to run this on my local machine.
0
 
LVL 6

Expert Comment

by:kahlean
ID: 6344325
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
 
LVL 1

Expert Comment

by:CSC_NT_Support
ID: 6344453
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
 
LVL 6

Expert Comment

by:kahlean
ID: 6344484
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
 

Author Comment

by:ericgls
ID: 6344798
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
 
LVL 12

Expert Comment

by:Housenet
ID: 6345273
-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
 

Author Comment

by:ericgls
ID: 6346969
Housenet, I've tried that but it didn't work as well.
0
 
LVL 6

Expert Comment

by:kahlean
ID: 6347066
what version of IE and powerpoint that you are using, i might afraid it has soemthing to do with the scripting
0
 

Author Comment

by:ericgls
ID: 6347208
IE version 5.00.3315
Office 2000
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 6347515
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:ericgls
ID: 6348565
shekerra, if i do this, can I unregister it later?
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 6348740
Yes of course you can -
0
 

Author Comment

by:ericgls
ID: 6351182
How to unregister then?
0
 
LVL 6

Expert Comment

by:kahlean
ID: 6351484
you can manual go to this key in yuor registry and remove or edit the value of each string there

REgards
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 6351510
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
 

Author Comment

by:ericgls
ID: 6354378
It doesn't work. The warning message still appear after I've added the registry.
0
 

Accepted Solution

by:
ericgls earned 0 total points
ID: 6378886
Problem solved using cookies
0
 
LVL 18

Expert Comment

by:bruno
ID: 7177941
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
 

Expert Comment

by:DBAOShea
ID: 7244291
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
 
LVL 5

Expert Comment

by:cempasha
ID: 8444636
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
 
LVL 1

Expert Comment

by:netwiz562
ID: 8854688
------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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now