View Full Version : ActiveX Problem

07-07-2003, 09:10 PM
Hey guys,

I have created a script using JavaScript that uses ActiveX to read/write .txt files over a shared pc on the network. The local pc only has an htm file that launchs the htm page on the shared server if it can find it. Then the htm file which resides on the shared server reads and writes data files. This has worked great. My only problem is that everytime I run the local file I get the dreaded ActiveX warning that says: "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"

Is there any way to get rid of that? I have disabled ALL the ActiveX settings in IE to enabled to both Intranet and Internet and it's not working. The shared pc htm file is called like \\Share\Files\test.htm and that is called from a local C:\default.htm which basically does a window.location = "\\Share\Files\test.htm";

Is there something i can do to avoid this? And possibly something that would work on a

WinCE environment.

Thank you!

07-07-2003, 10:15 PM
Local files fall within the "My Computer" security zone, which is not listed under IE's security tab... this zone can be added with a simple registry modification. Instructions are available on this page (under the 'PROGRAM LAUNCH' heading): Active Desktop Tutorial (http://innovations.madmatt.net/hosting/ntfs/tutorials/activedesktop.php)

07-07-2003, 10:27 PM

Thanks a whole bunch, that was exactly was I was looking for. Worked like a charm, wonder why it is hidden like that!

Thanks Again.