How to rewrite “LSet” from VB6 in VB.net (with structure types)?
问题 I have an VB6 application which uses LSet() with two user defined data types (Type), to assign data from one type to another, e.g.: Lset type1 = Type2 Now I have to apply equivalent logic in VB.net. However, in VB.net, LSet cannot be used against different types (Types in VB6). How can I implement the VB6 LSet logic in VB.net? Sample / typical code: Public MQ_Policy As typPolicyDataRetrieval Public typPolicyDataBlock As gtypPolicyDataBlock With MQ_Policy.Input .PcPolicyIDNum = Mid(InputString