Click here to Skip to main content
15,909,737 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: On Screen Keyboard Pin
Christian Graus17-Feb-08 16:40
protectorChristian Graus17-Feb-08 16:40 
QuestionBinary File Parser Pin
who needs to know?17-Feb-08 12:07
who needs to know?17-Feb-08 12:07 
GeneralRe: Binary File Parser Pin
Steve Westbrook17-Feb-08 14:02
Steve Westbrook17-Feb-08 14:02 
GeneralRe: Binary File Parser Pin
who needs to know?17-Feb-08 14:58
who needs to know?17-Feb-08 14:58 
GeneralRe: Binary File Parser Pin
Colin Angus Mackay18-Feb-08 0:18
Colin Angus Mackay18-Feb-08 0:18 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 6:16
Steve Westbrook18-Feb-08 6:16 
QuestionRe: Binary File Parser [modified] Pin
who needs to know?18-Feb-08 7:28
who needs to know?18-Feb-08 7:28 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 7:37
Steve Westbrook18-Feb-08 7:37 
What version of Visual basic are you using? Most of this should be fairly easy to figure out using the Intellisense capabilities of VB .NET. Use a filestream object to load the file in the first place; this combines the steps of opening a file and loading its data. In order to examine the data 2 at a time, use the operations listed in another reply (OR, XOR, etc.): I believe they are methods of the bitarray object. You just want to see whether bit 1 is equal to bit 2 or not, so those comparators should be sufficient.

Do not change the file - that would be a complex and unnecessary process. Rather, create a new and empty bitarray and fill in any bits your algorithm deems necessary. From there, you should be able to write it to a file - just look through the bitarray object's methods and something should come up - write to an array of byte; from there it can be written to a file using a binarywriter(?) object.

Steve
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 7:38
who needs to know?18-Feb-08 7:38 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 7:41
who needs to know?18-Feb-08 7:41 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:00
Steve Westbrook18-Feb-08 8:00 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:03
who needs to know?18-Feb-08 8:03 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:25
Steve Westbrook18-Feb-08 8:25 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:04
who needs to know?18-Feb-08 8:04 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 7:47
who needs to know?18-Feb-08 7:47 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:09
Steve Westbrook18-Feb-08 8:09 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:18
who needs to know?18-Feb-08 8:18 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:27
Steve Westbrook18-Feb-08 8:27 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:42
who needs to know?18-Feb-08 8:42 
QuestionRe: Binary File Parser [modified] Pin
who needs to know?18-Feb-08 9:02
who needs to know?18-Feb-08 9:02 
GeneralRe: Binary File Parser Pin
MikeMarq17-Feb-08 18:22
MikeMarq17-Feb-08 18:22 
QuestionHow to close all open forms. Pin
coolsatty17-Feb-08 4:29
coolsatty17-Feb-08 4:29 
AnswerRe: How to close all open forms. Pin
Eslam Afifi17-Feb-08 8:06
Eslam Afifi17-Feb-08 8:06 
GeneralRe: How to close all open forms. Pin
coolsatty17-Feb-08 23:07
coolsatty17-Feb-08 23:07 
AnswerRe: How to close all open forms. Pin
Eslam Afifi18-Feb-08 11:01
Eslam Afifi18-Feb-08 11:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.