D
Daryl Davis
Can I get a sample on how to call a com+ componant in a webservice, please?
This is what I have so far and I am getting an error
Run-time exception thrown : System.NullReferenceException - Object reference
not set to an instance of an object.
Imports System.Web.Services
Imports System.Runtime.InteropServices
<WebMethod()> _
Public Function GetRegKey() As String
Dim obj As Object
obj = CreateObject("hallconfigs.clsconfigs", "192.168.10.1")
Return obj.GetRegKey
End Function
This is what I have so far and I am getting an error
Run-time exception thrown : System.NullReferenceException - Object reference
not set to an instance of an object.
Imports System.Web.Services
Imports System.Runtime.InteropServices
<WebMethod()> _
Public Function GetRegKey() As String
Dim obj As Object
obj = CreateObject("hallconfigs.clsconfigs", "192.168.10.1")
Return obj.GetRegKey
End Function