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


Hambi
September 11th, 2002, 09:39 AM
Hello folks!

Can anyone tell how I set a permissions for COM object(in IE?). I want to created object on client side but IE disallow me.

Code on client side is:
<script language=VBScript>
Sub SomeMethod()
Dim obj
Set obj = CreateObject("ObjTest.clsTest")
Dim bRes
bRes = obj.SomeDLLMethod()
End if
End Sub
</script>

When I try to CreateObject I get a message: ActiveX...can't be created.

If I set IE Security->Custom leven on LOW, obejct is created OK, but is there another way to create object propertly.

Thx for answer,
Hambi