G
I am developing an ASP.NET application and calling a COM object to
access functions within an internally active application.
I am able to set most properties within the COM object class, but
cannot set the VB6 collection to the .NET collection.
The property is in VB6 as follows:
Public Property Let MyCol(ByVal Value As Collection)
Set colMyCol = Value
End Property
The code in the asp.net page is as follows: (Note that colInfo has the
same properties as MyCol):
Dim objX as object
objX = Server.CreateObject("VB6DLL.VB6CLASS")
If Not Session("MyCol") Is Nothing Then
objX.MyCol = colInfo
End If
Basically, I'm looking for a known way to map a collection from .NET
back to VB6.
Thanks,
Kevin
access functions within an internally active application.
I am able to set most properties within the COM object class, but
cannot set the VB6 collection to the .NET collection.
The property is in VB6 as follows:
Public Property Let MyCol(ByVal Value As Collection)
Set colMyCol = Value
End Property
The code in the asp.net page is as follows: (Note that colInfo has the
same properties as MyCol):
Dim objX as object
objX = Server.CreateObject("VB6DLL.VB6CLASS")
If Not Session("MyCol") Is Nothing Then
objX.MyCol = colInfo
End If
Basically, I'm looking for a known way to map a collection from .NET
back to VB6.
Thanks,
Kevin