IE5 displays the following warning message

An ActiveX control on this page might be unsafe to interact with other parts
of the page. Do you want to allow this iteraction?

when running a htm file with the following client side script.

Sub Window_OnLoad
Dim oObj
'Inhouse ActiveX component
set oObj= CreateObject("MyDLL.clsMyClass")
End Sub

The DLL is created inhouse and is not digitally signed.


However, the following code instantiating ADODB connection class from MS
does not generate the above warning message.

Sub Window_OnLoad
On Error Resume Next
Dim oObj

set oObj = CreateObject("ADODB.Connection")
End Sub