DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Editing binary file

  1. #1
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    84

    Editing binary file

    Hi

    I wish to edit first three bits of a binary file using VB.net. Can any one help how to handle these using Vb.net ?

    Thanks in advance

    Faisal

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663

  3. #3
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    84

    binary file edit

    Hi

    I am using Vb.Net to delete first three bits of a binary file. The following code

    only has write method. But I need delete method




    Dim writeStream As FileStream
    writeStream = New FileStream("sample.bin", FileMode.Append)
    Dim writeBinay As New BinaryWriter(writeStream)
    writeBinay.Seek(&H0000, SeekOrigin.Begin)
    writeBinay.Write("")
    writeBinay.Close()

    Can anyone help Please

    Thanks in Advance

    Faisal

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    My link was no help??

Similar Threads

  1. Reading from a Binary File Bug
    By tdas in forum C++
    Replies: 2
    Last Post: 11-17-2007, 01:46 PM
  2. write in binary file
    By singersinger in forum C++
    Replies: 1
    Last Post: 07-11-2007, 11:02 AM
  3. Replies: 3
    Last Post: 02-23-2003, 03:05 AM
  4. Convert binary file to bitmap
    By Sara in forum VB Classic
    Replies: 2
    Last Post: 01-23-2001, 02:30 PM
  5. Reading binary file
    By Russ McTyre in forum Java
    Replies: 1
    Last Post: 06-13-2000, 11:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center