Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Copy Process Console to clipboard Pin
dwrst15-Apr-08 7:45
dwrst15-Apr-08 7:45 
GeneralRe: Copy Process Console to clipboard Pin
Luc Pattyn15-Apr-08 11:03
sitebuilderLuc Pattyn15-Apr-08 11:03 
QuestionTrial version of a Software [modified] Pin
LAYEEQ AHMED KHAN15-Apr-08 1:41
LAYEEQ AHMED KHAN15-Apr-08 1:41 
GeneralRe: Trial version of a Software Pin
Christian Graus15-Apr-08 1:58
protectorChristian Graus15-Apr-08 1:58 
GeneralRe: Trial version of a Software Pin
papadimitriou15-Apr-08 4:32
papadimitriou15-Apr-08 4:32 
General[Message Deleted] Pin
pyde15-Apr-08 1:21
pyde15-Apr-08 1:21 
GeneralRe: problem with a modalPopUpExtender Pin
Christian Graus15-Apr-08 1:22
protectorChristian Graus15-Apr-08 1:22 
GeneralRead binary files with Progressbar Pin
Ian Uy15-Apr-08 1:18
Ian Uy15-Apr-08 1:18 
Good Day,

When I want to read a file as byte[] in the past, I always use this code:

byte[] Bytes = File.ReadAllBytes(FilePath);

The problem with the above code is it consumes too much memory (I think Laugh | :laugh: ) and I can't inform the user of the progress of the file reading.

Is there a better way of reading binary files in such a way that I can get the progress of the reading?

Thanks! Smile | :)
GeneralRe: Read binary files with Progressbar Pin
Christian Graus15-Apr-08 1:20
protectorChristian Graus15-Apr-08 1:20 
GeneralRe: Read binary files with Progressbar Pin
Ian Uy15-Apr-08 1:26
Ian Uy15-Apr-08 1:26 
GeneralRe: Read binary files with Progressbar Pin
Christian Graus15-Apr-08 1:33
protectorChristian Graus15-Apr-08 1:33 
GeneralRe: Read binary files with Progressbar Pin
Ian Uy15-Apr-08 3:00
Ian Uy15-Apr-08 3:00 
QuestionPDF to HTML conversion Pin
cincy15-Apr-08 1:06
cincy15-Apr-08 1:06 
GeneralRe: PDF to HTML conversion Pin
Christian Graus15-Apr-08 1:21
protectorChristian Graus15-Apr-08 1:21 
QuestionCaramel - code generator: Anyone interested in joining? Pin
Roger Alsing15-Apr-08 1:01
Roger Alsing15-Apr-08 1:01 
GeneralC# SQL date issue Pin
AJ du Plessis15-Apr-08 0:42
AJ du Plessis15-Apr-08 0:42 
GeneralRe: C# SQL date issue Pin
Christian Graus15-Apr-08 1:01
protectorChristian Graus15-Apr-08 1:01 
GeneralRe: C# SQL date issue Pin
Harvey Saayman15-Apr-08 1:14
Harvey Saayman15-Apr-08 1:14 
GeneralRe: C# SQL date issue Pin
J4amieC15-Apr-08 1:19
J4amieC15-Apr-08 1:19 
GeneralRe: C# SQL date issue Pin
Harvey Saayman15-Apr-08 22:26
Harvey Saayman15-Apr-08 22:26 
General[Message Deleted] Pin
sarilee15-Apr-08 0:02
sarilee15-Apr-08 0:02 
GeneralRe: combobox in datagrid Pin
Christian Graus15-Apr-08 0:14
protectorChristian Graus15-Apr-08 0:14 
GeneralRe: combobox in datagrid Pin
sarilee15-Apr-08 0:48
sarilee15-Apr-08 0:48 
GeneralRe: combobox in datagrid Pin
Christian Graus15-Apr-08 0:50
protectorChristian Graus15-Apr-08 0:50 
GeneralRe: combobox in datagrid Pin
sarilee15-Apr-08 1:15
sarilee15-Apr-08 1:15 

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.