Results 1 to 2 of 2

Thread: Soumen

  1. #1
    Soumen Guest

    Default Soumen

    How can I convert Binary data to text data that is I want to write the ASCII format of a binary data to a file,using VBScript. Reply ASAP.

  2. #2
    Srilatha Guest

    Default RE: Soumen

    You can convert binary type data to text data using the binary functions provided by VB.<BR><BR>Function getStringtype(binaryvalue)<BR> for i = to LenB(binaryvalue)<BR> char = chr(AscB(MidB(binaryvalue,i,1)))<BR> getStringtype = getStringtype & char<BR> Next<BR>End Function<BR><BR>But this is usually used when the source is a text file and you do extract it in binary format and want to retrieve back the text.<BR>The vice-versa stuff- I am expecting a reply from someone in the board<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts