Results 1 to 4 of 4

Thread: Binary/Hex/==Whatever!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Kitchener Ontario Canada
    Posts
    20

    Unhappy

    Ok., here's my question.,., I would like to know how to open any certain file and load its contents into a text box., and then resave it!!

    And im not talking about Text files here.,.,

    I mean something like an EXE!.,,. display its Binary., or Hex data in a Text Box.,., and then reuse that info in the text box to save it as a new file somewhere on HD!

    Thanx to anyone!

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    so basicly you want to copy the file? I'm sorry, I dont know the code, but is that what you need
    NXSupport - Your one-stop source for computer help

  3. #3
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208
    I think it's impossible because some caracters in a file are hidden like 
    when you load it in a text box, the caracter lost is value....
    try it:

    [code]
    open "YOURFILE" for inout as #1
    do until EOF(1)
    line input #1,temp$
    text1.text=text1.text & temp$ & vbcrlf
    loop
    close #1

    open "THECOPY" for output as #1
    print #1,text1.text
    close #1

    shell "explorer THECOPY"

  4. #4
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I think your talking about a hex editor. Have a look through these threads for more info.

    Gl,
    D!m
    Dim

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