I am running w2000 w/IIS 5.0 and InterDev
I developed an ActiveX DLL in VB6 compiled/installed/and registered on my pc. I tested it with a VB6 client test program and it works.
I set a reference to it in my web project - in global.asa it is as such:
<!--METADATA TYPE="TypeLib" NAME="eBPADTS" UUID="{F0834C25-CBD7-4511-9611-A1F1B74FA47F}" VERSION="2.0"-->
The code on my Test.asp page is:
<%Set oDTS = Server.CreateObject("eBPADTS.cDTS"
%>
<%Dim b %>
<%b=oDTS.Execute%>
<%If b = False Then
Response.Write "bad"
ElseIf b = True Then
Response.Write "good"
Else
Response.Write "???"
End If%>
The Execute method returns a boolean value.
However, I keep getting an "Unhandled error" message on the CreateObject line.
Please advise as to why my COM object won't work?
I developed an ActiveX DLL in VB6 compiled/installed/and registered on my pc. I tested it with a VB6 client test program and it works.
I set a reference to it in my web project - in global.asa it is as such:
<!--METADATA TYPE="TypeLib" NAME="eBPADTS" UUID="{F0834C25-CBD7-4511-9611-A1F1B74FA47F}" VERSION="2.0"-->
The code on my Test.asp page is:
<%Set oDTS = Server.CreateObject("eBPADTS.cDTS"
<%Dim b %>
<%b=oDTS.Execute%>
<%If b = False Then
Response.Write "bad"
ElseIf b = True Then
Response.Write "good"
Else
Response.Write "???"
End If%>
The Execute method returns a boolean value.
However, I keep getting an "Unhandled error" message on the CreateObject line.
Please advise as to why my COM object won't work?