i am using third party DLL in my ASP.NET website using
VB.NET. which is creating problem. Same DLL i use in ASP application and its working fine. now i aleady that DLL throug "Add Refernce" in ASP.NET application. i have also improrted that DLL in my .
vb class file. but could not use its methods which i have successfully used in ASP Application. please help me. here is my code in .
vb class file.
=================================
Imports HTTPREQLib
Public Class XmlLib
Dim httpReq As HTTPREQLib.SLHttpReqClass
httpReq.connect ConfigurationSettings.AppSettings("EclipseNetDomai n"), false, false, ConfigurationSettings.AppSettings("EclipseNetPort" )
End Class
=================================
it gives error that : "declaration expected" where i called connect method.
here is my ASP code which is working fine.
==================
set httpReq = CreateObject("Sandlot.HTTPReq")
httpReq.connect Application("EclipseNetDomain"), false, false, Application("EclipseNetPort")
==================
please help and suggest solutions
Thanks
Dev