473,320 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

silent assertion of assembly existance on client machine

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
Nov 15 '05 #1
1 1227
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

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Peter Gomis | last post by:
I have encountered a situation where I am unable to remove a .NET assembly from the GAC. The message I receive is "Assembly 'assemblyname' could not be uninstalled because it is required by other...
3
by: TThai | last post by:
Hi, I've created an application that uses crystal report in VB dotnet environment. I've created an MSI package to be installed on the client pc to make the crystal report to work. However, the...
0
by: Rea Peleg | last post by:
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...
1
by: Kent Rollins | last post by:
I am writing a server and an MMC console app that use remoting to talk to each other. The MMC client and the server share a couple of assemblies: one has the interface that is remoted from the...
3
by: crispin.proctor | last post by:
Hi All, I have started getting Assertion Errors in SQL. It appears when I process a cube (Most of the time) Other SQL statements, usually with a join or 6 do the same thing. Whaving a scratch...
0
by: Rameez Sajwani | last post by:
I made a web service and have implemented usernameForCertificateSecurity assertion in it. If I put both the webservice and client on same PC , then its running absolutely fine. But when i tried to...
4
by: Jay | last post by:
Hi, I have some unique situations where i need to transfer a file from Server to client but without any Open or Save dialog box shown to the user. The file should save itself directly to client...
3
by: Jay | last post by:
Hi, I have some unique situations where i need to transfer a file from Server to client but without any Open or Save dialog box shown to the user. The file should save itself directly to client...
2
by: Jay | last post by:
Hi, I have some unique situations where i need to transfer a file from Server to client but without any Open or Save dialog box shown to the user. The file should save itself directly to client...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.