G
Guest
We have a VB6 windows application. It had LSet to assign a User_Defined Type, a string, into another User_Defined Type, an Array of String. It looked like
Type tPTStrin
PTString As String * 2
End Typ
Type tPTArra
PTArray (11) As String *
End Typ
Dim PTS as tPTStrin
Dim PTA As tPTArra
PTS.PTString = "ABCDEFGHIJKLMNOPQRSTU" '--22 character
LSet PTA = PT
We got PTA.PTArray(0) = "AB", PTA.PTArray(2) ="CD",...... PTA.PTArray(11) = "TU"
What correspodent Function of LSet of VB6 we can use in VB.Net (or sample code)
Thanks
Type tPTStrin
PTString As String * 2
End Typ
Type tPTArra
PTArray (11) As String *
End Typ
Dim PTS as tPTStrin
Dim PTA As tPTArra
PTS.PTString = "ABCDEFGHIJKLMNOPQRSTU" '--22 character
LSet PTA = PT
We got PTA.PTArray(0) = "AB", PTA.PTArray(2) ="CD",...... PTA.PTArray(11) = "TU"
What correspodent Function of LSet of VB6 we can use in VB.Net (or sample code)
Thanks