Results 1 to 7 of 7

Thread: Binary

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    67

    Post

    I've not been here in a while and VB World has defenatly improved
    Well done all
    Anyway my question
    I can convert binary into anscii and into text but how would I do that the other way around
    ansci into binary
    how?
    Thanks everyone

  2. #2
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Post


    Function convbintoasc(str as String) as String
    Dim T1 As String * 3
    Dim le&
    Dim T2$
    le = Len(str)
    For x = 1 To le
    T1 = Asc(Mid(str, x, 1))
    T2 = T2 & T1
    Next
    convbintoasc = T2
    End Function

    ------------------
    Razzle
    ICQ#: 31429438

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    67

    Post

    No I think that you missunderstand me
    that code converts text ie alpha neumeric into anscii
    I want to convert anscii into binary
    any ideas on that one?

  4. #4
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Post

    oooh, sorry! I should have read your question properly..

    ------------------
    Razzle
    ICQ#: 31429438

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    67

    Post

    No problem man
    Thanks for the idea though

  6. #6
    Guest

    Post

    This Could be a starting point for you.

    ------------------
    Boothman
    There is a war out there, and it is about who controls the information, it's all about the information.


  7. #7

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    67

    Post

    thanks mam

Posting Permissions

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



Click Here to Expand Forum to Full Width