Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET binary
How to read binary file OR How to access binary file in visual.
As anyone knows that computer working on binary (0s and 1s).
Every file/data have its binary source.
I want to Read/Access and edit binary of data/files in visual basic.
Posted 21-Jan-13 2:07am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
v2
Comments
Alamgirable at 21-Jan-13 11:22am
   
Using this method.
How can i read Binary of those files which are in my harddisk?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Whooooo, it looks like you have a lot to learn. That is no problem, but be prepared.
The short answer is: it depends. But be aware, that a text file is also binary. It is a matter of formatting.
 
See following example of how to read simple integers from a binary file: http://www.dotnetperls.com/binaryreader-vbnet[^]
  Permalink  
v2
Comments
Alamgirable at 21-Jan-13 11:22am
   
Using this method.
How can i read Binary of those files which are in my harddisk?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,400
2 CPallini 5,240
3 George Jonsson 3,584
4 Gihan Liyanage 2,625


Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100