HI...
I am willing to build a .net component i.e dll in
VB.NET so that I can use the dll file by creating object on HTML page by OBJECT tag,like:
<OBJECT id="myobj" ClassId="XXXXX-XXXXX-XX" Codebase="http:........">
If the client machine does not have the dll then the dll should automatically install to client machine from the path specified in "Codebase" attribute.
I have created the class library from new project to get the dll file.Before build the project I have checked the "Register for COM Interop" option in project property.Now I made a HTML page and insert the object tag with ID & ClassId.To call a method of the dll I used javascript and the Id of OBJECT tag.Then I have placed the HTML & DLL files in WWWroot folder in IIS server.It is working fine.
But when I call the same page from another machine it is not working.I think the dll is not copied to the remote machine.
Plz tell me how should I overcome the problem.How should I able to automatically download the component on client machine.
Any help with sample code will be appreciated.
Thnx in advanced