Results 1 to 3 of 3

Thread: Running ActiveX control in IE7

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    1

    Running ActiveX control in IE7

    Hello,

    I am getting an error in IE7 that reads: "Internet Explorer has blocked this site from using and ActiveX control in an unsafe manner. As a result, this page will not display correctly." when trying to load and run an ActiveX control that I developed. The control was marked for safe scripting and initialization when built (using Package and Deployment wizard) and it works fine in IE6 with the setting for "Initialize and script ActiveX controls not marked as safe for scripting" set to disabled. It will work in IE7 if the setting is changed to enabled or prompt.
    Any ideas how to get the control to work without having to change the setting?
    Thanks in advance.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Running ActiveX control in IE7

    Welcome to the forums.

    I think the settings would have to change.

    What does your ActiveX control do?

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Running ActiveX control in IE7

    According to Internet Explorer Information bar: frequently asked questions this message means:
    A website tried to access an ActiveX control on your computer without your permission.
    To me this implies that the page is not referencing the CAB file, but trying to use a registered version of the control on the target computer.

    Do you have a reference to the packaged CAB in your <object> tag? If so, have you tried unregistering the control so the one marked "safe" gets picked up out of the CAB?

Posting Permissions

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



Click Here to Expand Forum to Full Width