|
-
Sep 25th, 2000, 09:54 PM
#1
Thread Starter
Junior Member
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!
-
Sep 25th, 2000, 10:33 PM
#2
Frenzied Member
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
-
Sep 25th, 2000, 10:37 PM
#3
Addicted Member
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"
-
Sep 25th, 2000, 10:38 PM
#4
Fanatic Member
I think your talking about a hex editor. Have a look through these threads for more info.
Gl,
D!m
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|