I wnt to convert one dimensional bytearray to string and display thedata in VB.NET, then how to convert this bytearray into string?It's very urgent. So, plz reply me if any one have idea abt this.
Perhaps this is what you need. I put binary/hex bytes into a stringthis way. Snipped from my code:Cmd is a command consisting of all hex bytes that I send out the serialport.pref & suff are prefix and suffix for the communications protocol=======================================Public Cmd As StringPublic pref As StringPublic suff As String...radio_address = CStr("&H" & ActiveSheet.Range("RadioAddressCell").Value)suff = Chr(&HFD)pref = Chr(&HFE) & Chr(&HFE) & Chr(radio_address) & Chr(&HE0)...Cmd = pref & Chr(&H5) & freq$ & suff...Cmd = Chr(&H16) & Chr(&H47)