Click to See Complete Forum and Search --> : Re write EXE ?
BlackRose
Dec 1st, 1999, 05:01 AM
Hi everybody ; Salam 4 all
i want to read a EXE file from VB & write it
by using Binery
Please I need code not e-mail address
------------------
BlackRose
chrisjk
Dec 1st, 1999, 08:05 AM
Check out http://www.vb-world.net/ubb/Forum1/HTML/011149.html for info on reading a binary. To write a binary, use this
Dim intFile As Integer ' FreeFile variable
intFile = FreeFile() ' Set intFile to an unused file.
Open "C:\YourFile.exe" For Binary As intFile
Put #intFile, , yourdatastringvariable
Close #intFile
All the above is available in help...
------------------
- Chris
chris.kilhams@btinternet.com
If it ain't broke - don't fix it :)
[This message has been edited by chrisjk (edited 12-01-1999).]
BlackRose
Dec 2nd, 1999, 02:58 AM
Thankx
------------------
BlackRose
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.