CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: DHTML

  1. #1
    Join Date
    Dec 1999
    Posts
    2

    DHTML

    When I am trying to use an activex control like internet transfer control on a dhtmlpage , it is giving warning message saying " An ActiveX object on this page may be unsafe. Do you want to allow it to initialize and accessed by scripts " .

    How to overcome this warning message?

    Can I use Microsoft Activex control on a DHTMLpage and keep it on internet or not ?
    If so what I need to do?



  2. #2
    Join Date
    Dec 1999
    Location
    Italy
    Posts
    6

    Re: DHTML

    For some "dangerous" operations (such as Shell() function) you'll need a signed Active-X control (check out http://www.verisign.com). Some controls, anyway, cause safety warnings even when manipulating their internal properties. Don't know why.
    Another thing you should check is HOW the Active-X has been embedded. The code has to be the following:

    <OBJECT classid="clsid:{etc. etc.}"></OBJECT>

    Some HTML editors (including the Triedit control) seem to have the #@!^* habit to include useless and dangerous extra data, like:

    data=data: none?? display:;,="===" application

    which sometimes can cause MSIE to popup safety warnings. Delete all the extra attributes, if present, and it should work.


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

Featured