Click here to Skip to main content
15,892,480 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalmscomctl - whats is it? its giving problem in upgrading VB6 to VB.Net Pin
sarat17-Feb-08 18:56
sarat17-Feb-08 18:56 
GeneralRe: mscomctl - whats is it? its giving problem in upgrading VB6 to VB.Net Pin
Christian Graus17-Feb-08 19:02
protectorChristian Graus17-Feb-08 19:02 
GeneralRe: mscomctl - whats is it? its giving problem in upgrading VB6 to VB.Net Pin
sarat17-Feb-08 19:55
sarat17-Feb-08 19:55 
GeneralRe: mscomctl - whats is it? its giving problem in upgrading VB6 to VB.Net Pin
sarat17-Feb-08 20:59
sarat17-Feb-08 20:59 
GeneralOn Screen Keyboard Pin
Jonathan Gibbs17-Feb-08 14:46
Jonathan Gibbs17-Feb-08 14:46 
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 
Use an io.binaryreader's readbytes method to read bytes into a bitarray, one of whose constructor overloads takes an array of bytes. Don't lose faith in trial and error so quickly; I didn't know how to do that two minutes ago.

Re: problems:
0. Why are you doing this?

1. Yes, the computer cares. For a solution, think carefully about problem 0. You are for reasons unexplained creating a file that no program but your own will be able to read. You could use fill characters or something; without knowing more about what this file represents, I can't help you more than that. If you don't mind multiplying the file's size by eight, you could use binarywriter's write method, with a boolean variable (one byte in size) representing each bit (one = true, etc.).

2. Notepad is reading the bits as bytes using its default encoding scheme (Unicode? UTF-16? I don't know, I don't care). The method described above won't do that.

Good luck,
Steve
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 
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 

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.