Rea,
The reason that you get this error is that most likely, the security for
the browser is not set to allow creation of COM objects in the page. So
even if you did have the assembly located on the machine, you would still
get that error, because the operation is not allowed.
You will not be able to get around this unless you loosen the security
on Internet Explorer. You might be better off creating a server side
control which uses strictly HTML for its display, as well as perform all the
operations on the server side.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Rea Peleg" <re******@barak-online.net> wrote in message
news:O7**************@TK2MSFTNGP10.phx.gbl...
Hey
I need to assert from within a web page that an assembly was previously
installed (and registered) on its hosting machine.
I want to attempt to create an instance of that assembly inside a java or
vb script
method and decide according to the results whether it had been installed.
The following line of code works in javascript but generates a warning
massage
I want to avoid (regarding activeX involvement in the page...) :
var myObj = new ActiveXObject("myRegAsem.regAsemTest");
Is there a silent method I can use instead??
TIA
Rea