Hi,

VB Code:
  1. Randomize Timer
  2.     Dim iCount As Integer, sData As String, sResult As String, bArray() As Byte
  3.     For iCount = 1 To 250
  4.         sData = sData & Chr$(Rnd * 254)
  5.     Next iCount
  6.  
  7.     bArray = StrConv(sData, vbFromUnicode)
  8.    
  9.     sResult = StrConv(bArray, vbUnicode)
  10.    
  11.     MsgBox (sData = sResult) '=False

Knows somebody whats wrong with this one? why isn't the same? ..or how can i split a string into this byte array then back, to get the original string?

any help appreciated! :|