Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: ActiveX Problem

  1. #1
    New to the CF scene
    Join Date
    Jul 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ActiveX Problem

    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!

  • #2
    Regular Coder
    Join Date
    Feb 2003
    Posts
    638
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    New to the CF scene
    Join Date
    Jul 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Dude,

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •