Click here to Skip to main content
15,913,090 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Read binary files with Progressbar Pin
Christian Graus15-Apr-08 1:20
protectorChristian Graus15-Apr-08 1:20 
Ian Uy wrote:
The problem with the above code is it consumes too much memory


Only if your file is huge

Ian Uy wrote:
I can't inform the user of the progress of the file reading.


True

Ian Uy wrote:
such a way that I can get the progress of the reading?


Do it the old way, open the file, create a byte array and read a section at a time, but you'll need to do it on a thread or use Application.DoEvents for your UI to update during the process.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

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 
Generaltemplates in datagrid Pin
sarilee14-Apr-08 23:45
sarilee14-Apr-08 23:45 

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.