derrick
Computer
- Jun 13, 2001
- 40
I have created a simple .dll and registered it using regsvr32. I now want to use the COM object from an ASP page.
The object registers ok, but only if it is in "C:\WINNT\system". I thought it could be held anywhere but this does not appear to be the case (by using regsvr32 "pathname\filename".
When I try to use the COM object, using
set myObj = Server.CreateObject("Project1.Class1"
result = myObj.method1
the vbscript code using it does not do anything, not even an error message!
I have attempted this with several different COM objects that I have created with no success, although I can use in-built objects (such as ADODB) without any problems.
Any idea where I might be going wrong?
Suggestions welcome, thanks in advance.
Derrick
The object registers ok, but only if it is in "C:\WINNT\system". I thought it could be held anywhere but this does not appear to be the case (by using regsvr32 "pathname\filename".
When I try to use the COM object, using
set myObj = Server.CreateObject("Project1.Class1"
result = myObj.method1
the vbscript code using it does not do anything, not even an error message!
I have attempted this with several different COM objects that I have created with no success, although I can use in-built objects (such as ADODB) without any problems.
Any idea where I might be going wrong?
Suggestions welcome, thanks in advance.
Derrick