Results 1 to 3 of 3

Thread: Re write EXE ?

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 1999
    Location
    Lebanon, Beirut
    Posts
    63

    Post

    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

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    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).]

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 1999
    Location
    Lebanon, Beirut
    Posts
    63

    Post

    Thankx

    ------------------
    BlackRose

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