Re: CDHtmDialog and scripting

From: Bill McKenzie (bill.mckenzie_at_nospam.conexant.com)
Date: 05/16/04


Date: Sun, 16 May 2004 02:05:36 -0500

Actually, Igor Tandetnik answered my question to some degree in
microsoft.public.inetsdk.programming.scripting.jscript. I would have cross
posted, but I am new to these newsgroups and didn't know about one before
posting to another. Anyway, Igor recommended the following:

> You need to impmement IInternetSecurityManager. See KB Article KB246227
> "SAMPLE: Secumgr.exe Overrides Security Manager for WebBrowser Host"

The problem now is I can't seem to find a good way to marry the MFC class
with this KB's code. I am sure it is just a lack of my understanding of the
undocumented MFC classes and COM.

-- 
Bill McKenzie
"MDW" <anonymous@discussions.microsoft.com> wrote in message
news:165CDEA8-4EE2-4438-B76E-764F63971791@microsoft.com...
> The only thing I know of that would work is to manually change your
Internet Options and adjust your security settings for Scripted ActiveX
objects.  Change it from "prompt" to "enable" and that should get rid of
your popups.
>
> HTH
>
>      ----- Bill McKenzie wrote: -----
>
>      I have written an MFC CDHtmlDialog based dialog application which
loads my
>      custom HTML pages.  I can use scripting in these pages such as
JScript.
>      However, if I try to create an ActiveX object I get a "An ActiveX
control on
>      this page might be unsafe to interact with other parts of the page.
Do you
>      want to allo this interaction?" pop-up.  I have tried everything I
can think
>      of to get rid of this pop-up but nothing seems to work.  I don't want
to
>      have to create the objects from my external dispatch interface as I
want the
>      JScript to be able to do it.  HTA can turn down the security so there
has to
>      be a way, but heck if I can figure it out.  Has anyone run across
this and
>      come up with a solution?  Thanks.
>
>      -- 
>      Bill McKenzie
>
>
>


Relevant Pages

  • Re: Integrating ActiveX with .NET in service
    ... Active X controls are designed to be hosted by an interactive process ... services don't/shouldn't interact with ... > The software system has been converted from Unix to run under Windows. ... > recently purchased an ActiveX control to interface to some hardware. ...
    (microsoft.public.dotnet.general)
  • How to Read an Active X Control?
    ... My application is an MFC application but since MFC is essentially a ... that the non editable TextBox is implemented as an Active X Control. ... the Windows that Spy++ will EXCLUDE in its Windows Hierarchy display. ... If the ActiveX control is inside an ActiveX container then: ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Porting CDialog to ActiveX
    ... First, start with an ActiveVirus, I mean ActiveX, pattern and go from there. ... Note that putting ActiveVirus controls on Web pages is sociopathic, ... We have an app that is MFC CDialog based. ... Is there anything in the ATL project to does it so simply? ...
    (microsoft.public.vc.mfc)
  • Re: msrdp object and SendKeys
    ... VB is just a good tool to test ActiveX controls rapidly. ... I can also use MFC ... The documentation requires a Windows Server 2003 as the server for SendKeys. ... now I tried to send keys to the remote session. ...
    (microsoft.public.windows.terminal_services)
  • Re: examples, tutorials, books
    ... That's because ATL doesn't support OLE and ActiveX ... This is the one area I recommend MFC ...
    (microsoft.public.vc.atl)

Loading