Click to See Complete Forum and Search --> : DHTML


Suneeta
December 28th, 1999, 05:07 AM
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?

Noog
December 28th, 1999, 09:12 AM
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.