Would something like this work for you !
VB Code:
  1. Dim bytarray As New ASCIIEncoding
  2. bytarray.GetBytes(yourstring) 'byte array