General information
Title:
How to use COM .DLL in ASP.NET
Hi,
I am trying to use a simple COM DLL in my webservice. I know the DLL works as its been tested.
I added the Reference to the DLL locally (which places the dll in the bin directory) and then I added this code
Dim oEROLCom As New erolcom.Interface
If oEROLCom.ZipToSite(path, Sitename, ref) Then
'Zipped()
Else
'Failed()
End If
it seems to build fine with no errors locally but when i copy and paste the bin file and the webservise .asmx. It gives me an error on this line
Dim oEROLCom As New erolcom.Interface
stating : BC30002: Type 'erolcom.Interface' is not defined.
Any ideas where i am going wrong? Thanks for the help.
Bilal.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only