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
Printable View
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
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
[email protected]
If it ain't broke - don't fix it :)
[This message has been edited by chrisjk (edited 12-01-1999).]
Thankx
------------------
BlackRose