i will describe for you my problem in more details:
Public Function RescivedCommand(ByVal number As Integer, byval data As string) As Boolean
this function is part o vb6 dll , when i execute this function the length of data is 160 in vb6.
but when i tried to use it in vb.net data is only one character instead of 160.
and when i read the documentation of the dll i found that data is fixed length.
is the problem that no more fixed length strings in vb.net, if so is there any solution to this problem