R
Richard Van Dyke
Hi all,
I have an application in VB.Net... on input I receive data in a
stringbuilder.... on occassion this data contains a Hex"00" ... I need to be
able to convert this data to a space...
I have tried
dim sb as new stringbuilder(1920)
receive the data using CPIC call to cmrecv....
sb.replace(convert.tochar(0), " "c)
I still get receive length of 1920 from SNA and sb.length is 1920 but since
I need to send this data as sb.string the string length is only 180 which is
where the hex"00" is...
Any ideas on how to convert this to get back to the full data?
Thanks in advance for any ideas
Rick
I have an application in VB.Net... on input I receive data in a
stringbuilder.... on occassion this data contains a Hex"00" ... I need to be
able to convert this data to a space...
I have tried
dim sb as new stringbuilder(1920)
receive the data using CPIC call to cmrecv....
sb.replace(convert.tochar(0), " "c)
I still get receive length of 1920 from SNA and sb.length is 1920 but since
I need to send this data as sb.string the string length is only 180 which is
where the hex"00" is...
Any ideas on how to convert this to get back to the full data?
Thanks in advance for any ideas
Rick